[Piglit] [PATCH] max-texture-size: Really test GL_PROXY_TEXTURE_RECTANGLE
Jon TURNEY
jon.turney at dronecode.org.uk
Mon Jul 21 11:21:54 PDT 2014
Fix a typo so that GL_PROXY_TEXTURE_RECTANGLE test actually tests that.
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
tests/texturing/max-texture-size.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c
index 8afa9ef..e9f5c6b 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:
--
1.8.5.5
More information about the Piglit
mailing list