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

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

parent b99a2a9f
......@@ -6932,7 +6932,7 @@ static GLuint gen_p8_shader(struct arbfp_blit_priv *priv,
}
/* Context activation is done by the caller. */
static void upload_palette(struct wined3d_surface *surface, struct wined3d_context *context)
static void upload_palette(const struct wined3d_surface *surface, struct wined3d_context *context)
{
BYTE table[256][4];
struct wined3d_device *device = surface->resource.device;
......
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