removed hacked GL tokens, fixed a printf
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:32:12 +0000 (17:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:32:12 +0000 (17:32 +0000)
progs/tests/pbo.c

index 83e9cbfbaca926b3f08c50f16fc8ff286a025db5..04b77572639ed666c4bb0963c86545d0b43bd26b 100644 (file)
 #include <math.h>
 #include <GL/glut.h>
 
-/* XXX temporary hack */
-#ifndef GL_PIXEL_PACK_BUFFER_EXT
-#define GL_PIXEL_PACK_BUFFER_EXT                        0x88EB
-#define GL_PIXEL_UNPACK_BUFFER_EXT                      0x88EC
-#define GL_PIXEL_PACK_BUFFER_BINDING_EXT                0x88ED
-#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT              0x88EF
-#endif
-
 #include "../util/readtex.c"  /* a hack, I know */
 
 #define IMAGE_FILE "../images/girl.rgb"
@@ -100,7 +92,7 @@ Display( void )
    PrintString("f = toggle front/back  s = toggle scale/bias  b = benchmark");
 
    glRasterPos2i(5, ImgHeight+40);
-   PrintString("GL_ARB_pixel_buffer_object test");
+   PrintString("GL_EXT_pixel_buffer_object test");
 
    /* draw original image */
    glRasterPos2i(APosX, 5);