diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-06-12 10:40:20 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-06-13 12:05:41 +0100 |
commit | 3d2564df8f71d6030d9496b7f8e57a27905a4b5a (patch) | |
tree | b91630c5ffa265023035c9f5fce19024341c5afd | |
parent | 6d1371e0e9291a10404a34992322ed698333f738 (diff) | |
download | cogl-3d2564df8f71d6030d9496b7f8e57a27905a4b5a.tar.gz |
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
-rw-r--r-- | cogl/cogl-depth-state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cogl/cogl-depth-state.c b/cogl/cogl-depth-state.c index 076d1b2e..c382ec17 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, - float far) + float near_val, + float far_val) { g_return_if_fail (state->magic == COGL_DEPTH_STATE_MAGIC); - state->range_near = near; - state->range_far = far; + state->range_near = near_val; + state->range_far = far_val; } void |