[Piglit] [PATCH] Add test to verify glDrawPixels with allowed pixel formats and data types
Brian Paul
brianp at vmware.com
Thu Apr 12 08:50:57 PDT 2012
On 04/12/2012 09:47 AM, Anuj Phogat wrote:
> On Thu, Apr 12, 2012 at 8:18 AM, Brian Paul <brianp at vmware.com
> +
> +
> +int piglit_window_mode = GLUT_DOUBLE | GLUT_RGBA | GLUT_ALPHA
> | GLUT_DEPTH;
>
>
> You'll need to add GLUT_STENCIL since you're testing stencil values.
>
>
> right. but I'm surprised how this test was passing on my Sandybridge
> machine without creating window with GLUT_STENCIL mode?
It's easy to get lucky and get a visual that just happens to have a
stencil buffer even if you didn't request it.
-Brina
More information about the Piglit
mailing list