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

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

parent d314aa2d
......@@ -2477,11 +2477,11 @@ void surface_add_dirty_rect(struct wined3d_surface *surface, const WINED3DBOX *d
}
}
static BOOL surface_convert_color_to_float(struct wined3d_surface *surface,
static BOOL surface_convert_color_to_float(const struct wined3d_surface *surface,
DWORD color, WINED3DCOLORVALUE *float_color)
{
const struct wined3d_format *format = surface->resource.format;
struct wined3d_device *device = surface->resource.device;
const struct wined3d_device *device = surface->resource.device;
switch (format->id)
{
......
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