freebsd-ports/x11-toolkits/freeglut/files/patch-progs::demos::Fractals::fractals.c
Edwin Groothuis baf41b9319 x11-toolkits/freeglut: upgrading to 2.0.0.
After seven release candidates, the 2.0.0 final has been released!

PR:		ports/57377
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-10-04 09:46:21 +00:00

20 lines
559 B
C

--- progs/demos/Fractals/fractals.c.orig Sun Sep 21 15:47:36 2003
+++ progs/demos/Fractals/fractals.c Mon Sep 29 23:35:43 2003
@@ -18,7 +18,7 @@
* Escape - quit
*/
-#include <GL/freeglut.h>
+#include "../../../include/GL/freeglut.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@@ -262,7 +262,7 @@
if ( argc > 1 )
readConfigFile ( argv[1] ) ;
else
- readConfigFile ( "fractals.dat" ) ;
+ readConfigFile ( "/usr/local/share/examples/freeglut/fractals.dat" ) ;
glutInit(&argc, argv);
glutInitWindowSize(500, 250);