wined3d: Allow the depth buffer to be shared between onscreen and offscreen rendering modes.
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 6a4894c..8b0a315 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -551,6 +551,7 @@
 
     /* For rendering to a texture using glCopyTexImage */
     BOOL                    render_offscreen;
+    WINED3D_DEPTHCOPYSTATE  depth_copy_state;
     GLuint                  fbo;
 
     /* Cursor management */