From: Brian Paul Date: Thu, 30 Jul 2009 15:46:57 +0000 (-0600) Subject: tests: glGetTexImage() test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=783a93a2c310f3fd8a4c0595bb6c60702cd2823e;p=mesa.git tests: glGetTexImage() test --- 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);