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

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


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Oct 26 20:05:02 2011 +0200

wined3d: Make the device parameter to wined3d_surface_depth_blt_fbo() 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 8bf61a9..9e742ab 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1075,7 +1075,7 @@ static BOOL surface_is_full_rect(const struct wined3d_surface *surface, const RE
     return TRUE;
 }
 
-static void wined3d_surface_depth_blt_fbo(struct wined3d_device *device, struct wined3d_surface *src_surface,
+static void wined3d_surface_depth_blt_fbo(const struct wined3d_device *device, struct wined3d_surface *src_surface,
         const RECT *src_rect, struct wined3d_surface *dst_surface, const RECT *dst_rect)
 {
     const struct wined3d_gl_info *gl_info;




More information about the wine-cvs mailing list