wined3d: Make the shader and ctx_priv parameters to shader_generate_glsl_declarations() const.

This commit is contained in:
Henri Verbeet 2011-07-24 21:48:10 +02:00 committed by Alexandre Julliard
parent 6a046eddd7
commit 68b9071329
1 changed files with 2 additions and 2 deletions

View File

@ -918,8 +918,8 @@ static unsigned int vec4_varyings(DWORD shader_major, const struct wined3d_gl_in
/** Generate the variable & register declarations for the GLSL output target */
static void shader_generate_glsl_declarations(const struct wined3d_context *context,
struct wined3d_shader_buffer *buffer, struct wined3d_shader *shader,
const struct wined3d_shader_reg_maps *reg_maps, struct shader_glsl_ctx_priv *ctx_priv)
struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader,
const struct wined3d_shader_reg_maps *reg_maps, const struct shader_glsl_ctx_priv *ctx_priv)
{
const struct wined3d_state *state = &shader->device->stateBlock->state;
const struct ps_compile_args *ps_args = ctx_priv->cur_ps_args;