[PATCH 5/5] wined3d: Make the surface parameter to surface_depth_blt() const.

Henri Verbeet hverbeet at codeweavers.com
Sun Jul 17 15:29:07 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 92a4ae5..7b10ec8 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -5561,7 +5561,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(struct wined3d_surface *dst_surfa
 }
 
 /* GL locking is done by the caller */
-static void surface_depth_blt(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info,
+static void surface_depth_blt(const struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info,
         GLuint texture, GLint x, GLint y, GLsizei w, GLsizei h, GLenum target)
 {
     struct wined3d_device *device = surface->resource.device;
-- 
1.7.3.4




More information about the wine-patches mailing list