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

This commit is contained in:
Henri Verbeet 2011-07-17 22:29:06 +02:00 committed by Alexandre Julliard
parent d314aa2d6e
commit a97ed53460
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{