mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
Do not use "near" and "far" variables
They collide with existing symbols when compiling on Windows. http://bugzilla.clutter-project.org/show_bug.cgi?id=2667
This commit is contained in:
parent
6d1371e0e9
commit
3d2564df8f
@ -89,12 +89,12 @@ cogl_depth_state_get_test_function (CoglDepthState *state)
|
|||||||
|
|
||||||
void
|
void
|
||||||
cogl_depth_state_set_range (CoglDepthState *state,
|
cogl_depth_state_set_range (CoglDepthState *state,
|
||||||
float near,
|
float near_val,
|
||||||
float far)
|
float far_val)
|
||||||
{
|
{
|
||||||
g_return_if_fail (state->magic == COGL_DEPTH_STATE_MAGIC);
|
g_return_if_fail (state->magic == COGL_DEPTH_STATE_MAGIC);
|
||||||
state->range_near = near;
|
state->range_near = near_val;
|
||||||
state->range_far = far;
|
state->range_far = far_val;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user