summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-07-30 09:46:57 -0600
committerBrian Paul <[email protected]>2009-07-30 09:46:57 -0600
commit783a93a2c310f3fd8a4c0595bb6c60702cd2823e (patch)
tree96484421b73025300b6d4264cbc890a645104f48 /progs
parentc156eeb682d673e571c1798ff21e183ad4114fea (diff)
tests: glGetTexImage() test
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/SConscript1
-rw-r--r--progs/tests/getteximage.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/progs/tests/SConscript b/progs/tests/SConscript
index b17fa905936..bb6a1d2b8a9 100644
--- a/progs/tests/SConscript
+++ b/progs/tests/SConscript
@@ -72,6 +72,7 @@ progs = [
'fogcoord',
'fptest1',
'fptexture',
+ 'getteximage',
'glutfx',
'interleave',
'invert',
diff --git a/progs/tests/getteximage.c b/progs/tests/getteximage.c
index e4818a8fabb..efd77db60ec 100644
--- a/progs/tests/getteximage.c
+++ b/progs/tests/getteximage.c
@@ -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);