From 783a93a2c310f3fd8a4c0595bb6c60702cd2823e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 30 Jul 2009 09:46:57 -0600 Subject: tests: glGetTexImage() test --- progs/tests/SConscript | 1 + progs/tests/getteximage.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'progs/tests') diff --git a/progs/tests/SConscript b/progs/tests/SConscript index b17fa90593..bb6a1d2b8a 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 e4818a8fab..efd77db60e 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); -- cgit v1.2.3