Module: wine Branch: master Commit: c5f8a33a86af8ece1966e2e4727a459eae5505ef URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5f8a33a86af8ece1966e2e472... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Jul 19 12:56:12 2011 +0200 wined3d: Make the surface parameter to ffp_blit_p8_upload_palette() const. --- dlls/wined3d/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 7b10ec8..77d13df 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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;