tests: glGetTexImage() test
authorBrian Paul <brianp@vmware.com>
Thu, 30 Jul 2009 15:46:57 +0000 (09:46 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Jul 2009 15:46:57 +0000 (09:46 -0600)
progs/tests/SConscript
progs/tests/getteximage.c

index b17fa9059368de8fe4feae028e5d7361145bee04..bb6a1d2b8a99bcb1f8edbb7d541204cf30567d2e 100644 (file)
@@ -72,6 +72,7 @@ progs = [
     'fogcoord',
     'fptest1',
     'fptexture',
+    'getteximage',
     'glutfx',
     'interleave',
     'invert',
index e4818a8fabb66857e1765c4247f0ba729f0bafc8..efd77db60ec5a896c111b7a22adfaef2f8a10c0f 100644 (file)
@@ -100,7 +100,7 @@ TestGetTexImageRTT(void)
    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0,
                 GL_RGBA, GL_UNSIGNED_BYTE, NULL);
 
-   glBindFramebuffer(GL_FRAMEBUFFER_EXT, fb);
+   glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
    glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
                              GL_TEXTURE_2D, tex, level);
 
@@ -137,7 +137,7 @@ TestGetTexImageRTT(void)
       free(data2);
    }
 
-   glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);
+   glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
    glDeleteFramebuffersEXT(1, &fb);
    glDeleteTextures(1, &tex);