1
0
Fork 0

Revert "Do not use "near" and "far" variables"

This reverts commit 3d2564df8f.

Since 01e1260aa the 'near' and 'far' defines are now undef'd on
Windows so we no longer have to remember not to use them in Cogl code.
This commit is contained in:
Neil Roberts 2011-06-14 14:40:27 +01:00
parent 01e1260aa0
commit e86543cd7d

View file

@ -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