diff --git a/cogl/cogl-depth-state.c b/cogl/cogl-depth-state.c index c382ec17c..076d1b2ec 100644 --- a/cogl/cogl-depth-state.c +++ b/cogl/cogl-depth-state.c @@ -89,12 +89,12 @@ cogl_depth_state_get_test_function (CoglDepthState *state) void cogl_depth_state_set_range (CoglDepthState *state, - float near_val, - float far_val) + float near, + float far) { g_return_if_fail (state->magic == COGL_DEPTH_STATE_MAGIC); - state->range_near = near_val; - state->range_far = far_val; + state->range_near = near; + state->range_far = far; } void