[Piglit] [PATCH 2/4] fbo-scissor-bitmap: fix for non-NPOT
Luca Barbieri
luca at luca-barbieri.com
Mon Aug 16 05:46:06 PDT 2010
fbo-scissor-bitmap incorrectly requests an NPOT texture without
checking for ARB_texture_non_power_of_two
---
tests/fbo/fbo-scissor-bitmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/fbo/fbo-scissor-bitmap.c b/tests/fbo/fbo-scissor-bitmap.c
index c944435..f628d2e 100644
--- a/tests/fbo/fbo-scissor-bitmap.c
+++ b/tests/fbo/fbo-scissor-bitmap.c
@@ -350,8 +350,8 @@ piglit_display()
GLboolean pass = GL_TRUE;
/* Use different width/height from window to catch mistakes */
- int fbo_width = piglit_width + 100;
- int fbo_height = piglit_height + 100;
+ int fbo_width = 512;
+ int fbo_height = 512;
GLuint fbo, texture;
glGenFramebuffersEXT(1, &fbo);
--
1.7.0.4
More information about the Piglit
mailing list