Re: [x11drv] d3d stencil support

2005-07-04 Thread Adam D. Moss
Hi! Oliver Stieber wrote: +if (visual == NULL) { +/* fallback to a 1 bit stencil (opengl states that at least 1 bit of stencil must be provided for on of the available configurations) */ +WARN(Failed to get a visual with at least 8 bits of stencil\n); +int dblBuf2[]

Re: [x11drv] d3d stencil support

2005-07-04 Thread Frank Richter
On 04.07.2005 02:21, Oliver Stieber wrote: Hi, This patch makes sure that the OpenGL visual created for a window has a stencil buffer. This is a requirement for stencil buffer support in d3d. Hm, isn't it possible that on some pathetic hardware or when lower color depths are used (e.g. 16bpp)

Re: [x11drv] d3d stencil support

2005-07-04 Thread Oliver Stieber
--- Frank Richter [EMAIL PROTECTED] wrote: On 04.07.2005 02:21, Oliver Stieber wrote: Hi, This patch makes sure that the OpenGL visual created for a window has a stencil buffer. This is a requirement for stencil buffer support in d3d. Hm, isn't it possible that on some pathetic

Re: [x11drv] d3d stencil support

2005-07-04 Thread Oliver Stieber
--- Adam D. Moss [EMAIL PROTECTED] wrote: Hi! Oliver Stieber wrote: +if (visual == NULL) { +/* fallback to a 1 bit stencil (opengl states that at least 1 bit of stencil must be provided for on of the available configurations) */ +WARN(Failed to get a visual with at

Re: [x11drv] d3d stencil support

2005-07-04 Thread Jakob Eriksson
Adam D. Moss wrote: Hi! Oliver Stieber wrote: +if (visual == NULL) { +/* fallback to a 1 bit stencil (opengl states that at least 1 bit of stencil must be provided for on of the available configurations) */ +WARN(Failed to get a visual with at least 8 bits of

Re: [x11drv] d3d stencil support

2005-07-04 Thread Adam D. Moss
Oliver Stieber wrote: The fallback is there because 1 bit stencil is the minimum required by the opengl specification, so it is possible that somewhere there is a driver that only supports 1 bit stencil. I understood that, I was simply saying that I don't think there's ever been a consumer

Re: [x11drv] d3d stencil support

2005-07-04 Thread Oliver Stieber
--- Adam D. Moss [EMAIL PROTECTED] wrote: Oliver Stieber wrote: The fallback is there because 1 bit stencil is the minimum required by the opengl specification, so it is possible that somewhere there is a driver that only supports 1 bit stencil. I understood that, I was simply