Luca Barbieri wrote: > Apparently _mesa_Clear should not set BUFFER_BIT_STENCIL if the visual > lacks a stencil buffer. > > So it seems the visual is somehow incorrect, or a visual with a > stencil buffer is being selected but the stencil renderbuffer is not > actually set.
At line 167 of src/mesa/main/clear.c we check if the user specifies GL_STENCIL_BUFFER_BIT but the drawing surface has no stencil bits. So, st_clear() should not be getting BUFFER_BIT_STENCIL if there's no stencil buffer. Perhaps you could debug that a bit further. -Brian ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev