[Piglit] [PATCH 2/2] nv_conditional_render-bitmap: set raster color
Vadim Girlin
vadimgirlin at gmail.com
Mon Jul 11 21:13:22 PDT 2011
Set raster color before calling glBitmap.
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
tests/spec/nv_conditional_render/bitmap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/spec/nv_conditional_render/bitmap.c b/tests/spec/nv_conditional_render/bitmap.c
index 118efa6..ca05aae 100644
--- a/tests/spec/nv_conditional_render/bitmap.c
+++ b/tests/spec/nv_conditional_render/bitmap.c
@@ -69,6 +69,7 @@ piglit_display(void)
/* Conditional render that should draw the whole screen. */
glBeginConditionalRenderNV(q, GL_QUERY_WAIT_NV);
+ glRasterPos2i(-1, -1);
glBitmap(piglit_width, piglit_height, 0, 0, 0, 0, buf);
glEndConditionalRenderNV();
--
1.7.6
More information about the Piglit
mailing list