Henri Verbeet : wined3d: Make the surface parameter to surface_convert_depth_to_float() const.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 12:46:58 CDT 2011
Module: wine
Branch: master
Commit: d314aa2d6ef8a899ba6ced167d45a718aa4642a0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d314aa2d6ef8a899ba6ced167d45a718aa4642a0
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Jul 17 22:29:05 2011 +0200
wined3d: Make the surface parameter to surface_convert_depth_to_float() 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 458cc36..069861e 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1212,7 +1212,7 @@ static BOOL fbo_blit_supported(const struct wined3d_gl_info *gl_info, enum wined
return TRUE;
}
-static BOOL surface_convert_depth_to_float(struct wined3d_surface *surface, DWORD depth, float *float_depth)
+static BOOL surface_convert_depth_to_float(const struct wined3d_surface *surface, DWORD depth, float *float_depth)
{
const struct wined3d_format *format = surface->resource.format;
More information about the wine-cvs
mailing list