summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);