[4/8] WineD3D: Depth stencil fixes

Stefan Dösinger stefan at codeweavers.com
Wed Nov 14 04:22:00 CST 2007


Am Mittwoch, 14. November 2007 09:46:02 schrieb H. Verbeet:
> On 13/11/2007, Stefan Dösinger <stefan at codeweavers.com> wrote:
> >  static void depth_copy(IWineD3DDevice *iface) {
> >      IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
> > -    IWineD3DSurfaceImpl *depth_stencil = (IWineD3DSurfaceImpl
> > *)This->depthStencilBuffer; +    IWineD3DSurfaceImpl *depth_stencil =
> > (IWineD3DSurfaceImpl *)This->auto_depth_stencil_buffer;
> >
> >      /* Only copy the depth buffer if there is one. */
>
> I think this one should be changed to use stencilBufferTarget instead,
> although not in this patch.
I thought about that too, but does the depth copy ever apply to other stencil 
buffers than the implicit one?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071114/b07b225b/attachment-0001.pgp 


More information about the wine-devel mailing list