[PATCH 4/5] wined3d: Make the surface parameter to upload_palette() const.
Henri Verbeet
hverbeet at codeweavers.com
Sun Nov 6 15:05:58 CST 2011
---
dlls/wined3d/arb_program_shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index d32b5f1..4fabeea 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -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;
--
1.7.3.4
More information about the wine-patches
mailing list