mesa: pass correct constant type to _mesa_fetch_state()
Fixes assorted warnings about float vs. gl_constant_value pointers.
This commit is contained in:
@@ -1111,7 +1111,7 @@ _mesa_load_state_parameters(struct gl_context *ctx,
|
|||||||
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
|
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
|
||||||
_mesa_fetch_state(ctx,
|
_mesa_fetch_state(ctx,
|
||||||
paramList->Parameters[i].StateIndexes,
|
paramList->Parameters[i].StateIndexes,
|
||||||
paramList->ParameterValues[i]);
|
¶mList->ParameterValues[i][0].f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user