Henri Verbeet : wined3d: Also update ds_current_size if there' s no current DS location in surface_load_ds_location().
Alexandre Julliard
julliard at winehq.org
Tue Apr 19 12:08:17 CDT 2011
Module: wine
Branch: master
Commit: 516ade9b2b790169e1eb6e6ec89133325a7aae5b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=516ade9b2b790169e1eb6e6ec89133325a7aae5b
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Apr 19 00:07:56 2011 +0200
wined3d: Also update ds_current_size if there's no current DS location in surface_load_ds_location().
---
dlls/wined3d/surface.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index bf379ca..d302d35 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4390,6 +4390,8 @@ void surface_load_ds_location(IWineD3DSurfaceImpl *surface, struct wined3d_conte
* should do. */
FIXME("No up to date depth stencil location.\n");
surface->flags |= location;
+ surface->ds_current_size.cx = surface->resource.width;
+ surface->ds_current_size.cy = surface->resource.height;
return;
}
More information about the wine-cvs
mailing list