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

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

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

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

wined3d: Make the device parameter to surface_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 9e742ab..0bee46d 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1171,7 +1171,7 @@ static void wined3d_surface_depth_blt_fbo(const struct wined3d_device *device, s
 /* Blit between surface locations. Onscreen on different swapchains is not supported.
  * Depth / stencil is not supported. */
-static void surface_blt_fbo(struct wined3d_device *device, const WINED3DTEXTUREFILTERTYPE filter,
+static void surface_blt_fbo(const struct wined3d_device *device, const WINED3DTEXTUREFILTERTYPE filter,
         struct wined3d_surface *src_surface, DWORD src_location, const RECT *src_rect_in,
         struct wined3d_surface *dst_surface, DWORD dst_location, const RECT *dst_rect_in)

More information about the wine-cvs mailing list