diff options
author | Vadim Girlin <vadimgirlin@gmail.com> | 2011-07-12 08:13:22 +0400 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-07-12 14:44:02 +0200 |
commit | 0f266e913272ad797d7fd5946ab3f0208caee570 (patch) | |
tree | 3a22c4c59d8f4e963c14ce3b6c62d56f8b6b0502 /tests/spec/nv_conditional_render | |
parent | 63a7fe3d79dd6f1af16b2d501ff7e745d693170f (diff) |
nv_conditional_render-bitmap: set raster position
Set raster position before calling glBitmap.
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'tests/spec/nv_conditional_render')
-rw-r--r-- | 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 118efa6ef..ca05aaefd 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(); |