Henri Verbeet : wined3d: Use the texture resource in wined3d_surface_depth_fill().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Sep 19 13:18:31 CDT 2014
Module: wine
Branch: master
Commit: 8aa113750974dde5a6b3e0bb434eeee5c2d758dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8aa113750974dde5a6b3e0bb434eeee5c2d758dc
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Sep 19 10:41:49 2014 +0200
wined3d: Use the texture resource in wined3d_surface_depth_fill().
---
dlls/wined3d/surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 9603e21..73f964d 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1102,7 +1102,7 @@ static BOOL surface_convert_depth_to_float(const struct wined3d_surface *surface
static HRESULT wined3d_surface_depth_fill(struct wined3d_surface *surface, const RECT *rect, float depth)
{
- const struct wined3d_resource *resource = &surface->resource;
+ const struct wined3d_resource *resource = &surface->container->resource;
struct wined3d_device *device = resource->device;
const struct blit_shader *blitter;
More information about the wine-cvs
mailing list