[PATCH 4/5] wined3d: Make the device parameter to surface_blt_to_drawable() const.

Henri Verbeet hverbeet at codeweavers.com
Thu Oct 27 10:06:26 CDT 2011


---
 dlls/wined3d/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 9da87f7..b9a4fd2 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -5326,7 +5326,7 @@ void surface_translate_drawable_coords(const struct wined3d_surface *surface, HW
     rect->bottom = drawable_height - rect->bottom;
 }
 
-static void surface_blt_to_drawable(struct wined3d_device *device,
+static void surface_blt_to_drawable(const struct wined3d_device *device,
         WINED3DTEXTUREFILTERTYPE filter, BOOL color_key,
         struct wined3d_surface *src_surface, const RECT *src_rect_in,
         struct wined3d_surface *dst_surface, const RECT *dst_rect_in)
-- 
1.7.3.4




More information about the wine-patches mailing list