[Piglit] [PATCH 2/2] nv_conditional_render-bitmap: set raster color

Marek Olšák maraeo at gmail.com
Tue Jul 12 05:46:39 PDT 2011


I guess you meant "raster position", not "raster color". Nevertheless
I have pushed both. Thanks.

Marek

On Tue, Jul 12, 2011 at 6:13 AM, Vadim Girlin <vadimgirlin at gmail.com> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>


More information about the Piglit mailing list