Module: wine Branch: master Commit: 437cec1a49d8e06305eaeb138e46171ef93e24ba URL: http://source.winehq.org/git/wine.git/?a=commit;h=437cec1a49d8e06305eaeb138e...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Jul 17 22:29:07 2011 +0200
wined3d: Make the surface parameter to surface_depth_blt() 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 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;