summaryrefslogtreecommitdiff
path: root/tests/texturing/max-texture-size.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-07-21 19:21:54 +0100
committerAnuj Phogat <anuj.phogat@gmail.com>2014-07-29 10:57:43 -0700
commitba8d64a50da073510fa20c547e4278e523fd5953 (patch)
treedcfcf57cdaad687c7ba118badd73d46fdcef79a6 /tests/texturing/max-texture-size.c
parent58778e752062efc5bbb716959dabd6792a93ef5e (diff)
max-texture-size: Really test GL_PROXY_TEXTURE_RECTANGLE
Fix a typo so that GL_PROXY_TEXTURE_RECTANGLE test actually tests that. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'tests/texturing/max-texture-size.c')
-rw-r--r--tests/texturing/max-texture-size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c
index 8afa9ef65..e9f5c6b41 100644
--- a/tests/texturing/max-texture-size.c
+++ b/tests/texturing/max-texture-size.c
@@ -195,8 +195,8 @@ test_proxy_texture_size(GLenum target, GLenum internalformat)
break;
case GL_TEXTURE_RECTANGLE:
- glTexImage2D(target, 0, internalformat, maxSide,
- maxSide, 0, GL_RGBA, GL_FLOAT, NULL);
+ glTexImage2D(GL_PROXY_TEXTURE_RECTANGLE, 0, internalformat,
+ maxSide, maxSide, 0, GL_RGBA, GL_FLOAT, NULL);
break;
case GL_TEXTURE_3D: