[1/3] WineD3D: check the GL flags in CheckDepthStencilCapability, not the static info

Henri Verbeet hverbeet at gmail.com
Thu Mar 25 03:26:16 CDT 2010

On 25 March 2010 09:17, Roderick Colenbrander <thunderbird2k at gmail.com> wrote:
> My suggestion was to extend 'init_format_texture_info' and set
> 'wined3d_format_desc->supported' when the extension is around.
That doesn't help, the problem is with fairly old cards that don't
support depth textures. They obviously won't be able to do fancy stuff
like FBO offscreen rendering, but you should still be able to create a
depth/stencil buffer. The current code on the other hand will
incorrectly report floating point depth formats as supported even if
the relevant extension isn't supported.

More information about the wine-devel mailing list