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
We have a visual haveStencilBuffer == 1 but stencilBits == 0 (and no
stencil renderbuffer), which I suppose shouldn't be happening.
visualid and fbconfigid are also 0.
Here is the full structure:
$1 = {next = 0x0, rgbMode = 1 '\001', floatMode = 0 '\000',
colorIndexMode = 0 '\000',
The problem seems to be in st_manager.c:
if (visual-depth_stencil_format != PIPE_FORMAT_NONE) {
mode-haveDepthBuffer = GL_TRUE;
mode-haveStencilBuffer = GL_TRUE;
mode-depthBits =
util_format_get_component_bits(visual-depth_stencil_format,
On Wed, Mar 24, 2010 at 12:56 AM, Brian Paul bri...@vmware.com wrote:
The problem seems to be in st_manager.c:
if (visual-depth_stencil_format != PIPE_FORMAT_NONE) {
mode-haveDepthBuffer = GL_TRUE;
mode-haveStencilBuffer = GL_TRUE;
mode-depthBits =