[2/2] wined3d: Set the surface location to SFLAG_INSYSMEM for depth stencils on Reset
hverbeet at gmail.com
Mon Jun 2 14:12:54 CDT 2008
This fixes a rather major regression when using FBOs for offscreen
rendering. Since we destroy the GL texture associated with the
surface, and INDRAWABLE and INTEXTURE are the same for offscreen
targets when using FBO ORM, the texture would never get recreated for
the depth stencil. Depth stencils are special in this regard since
they can switch between being onscreen and offscreen, for the other
implicit surfaces this isn't an issue. This should also fix bug 12794.
(This bug does expose issues with the surface management code, but I
don't think those are fixable before 1.0)
- Set the surface location to SFLAG_INSYSMEM for depth stencils on Reset
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches