GL_EXT_pixel_buffer_object test
[mesa.git] / progs / tests / texrect.c
index 1468c73385a7aa2d44c630c25520553814a7f342..6843d589ef5a46075e87566b9fa9867b9ddb326f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: texrect.c,v 1.1 2002/06/15 03:08:19 brianp Exp $ */
+/* $Id: texrect.c,v 1.4 2003/05/30 15:37:47 brianp Exp $ */
 
 /* GL_NV_texture_rectangle test
  *
@@ -7,13 +7,13 @@
  */
 
 
+#define GL_GLEXT_PROTOTYPES
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <GL/glut.h>
-
-#include "readtex.c"   /* I know, this is a hack. */
+#include "readtex.h"
 
 #define TEXTURE_0_FILE "../images/girl.rgb"
 #define TEXTURE_1_FILE "../images/reflect.rgb"