On 13/11/2007, Stefan Dösinger <[EMAIL PROTECTED]> 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.


Reply via email to