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

This commit is contained in:
Henri Verbeet 2011-07-19 12:56:12 +02:00 committed by Alexandre Julliard
parent 04d541c26d
commit c5f8a33a86
1 changed files with 1 additions and 1 deletions

View File

@ -6280,7 +6280,7 @@ static void ffp_blit_free(struct wined3d_device *device) { }
/* This function is used in case of 8bit paletted textures using GL_EXT_paletted_texture */
/* Context activation is done by the caller. */
static void ffp_blit_p8_upload_palette(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info)
static void ffp_blit_p8_upload_palette(const struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info)
{
BYTE table[256][4];
BOOL colorkey_active = (surface->CKeyFlags & WINEDDSD_CKSRCBLT) ? TRUE : FALSE;