Commit d314aa2d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make the surface parameter to surface_convert_depth_to_float() const.

parent 416a55c7
...@@ -1212,7 +1212,7 @@ static BOOL fbo_blit_supported(const struct wined3d_gl_info *gl_info, enum wined ...@@ -1212,7 +1212,7 @@ static BOOL fbo_blit_supported(const struct wined3d_gl_info *gl_info, enum wined
return TRUE; 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; const struct wined3d_format *format = surface->resource.format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment