Henri Verbeet : wined3d: Make the device parameter to surface_blt_to_drawable() const.

Alexandre Julliard julliard at winehq.org
Thu Oct 27 13:30:13 CDT 2011


Module: wine
Branch: master
Commit: bf5ab0a199080347ff20435bff0f470210643c33
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf5ab0a199080347ff20435bff0f470210643c33

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Oct 27 17:06:26 2011 +0200

wined3d: Make the device parameter to surface_blt_to_drawable() const.

---

 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 91c0f60..c13fc26 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -5324,7 +5324,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)




More information about the wine-cvs mailing list