summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_mesh.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-08 10:38:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-08 11:13:06 +0900
commitf253f9a7bc8d564632f25d3bc57c00c38b85a3c9 (patch)
treec5325c4efeb84d0a88c7691342bf92e5f589da36 /src/lib/evas/canvas/evas_canvas3d_mesh.c
parent0e5fee0041d22376ac011f5d95efd182797aafd9 (diff)
Evas 3d: Fix compilation for Windows
near and far are #defined in windows.h. Old legacy stuff. To be sure the code compiles, rename the variables. Fixes T3423
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_mesh.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_mesh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.c b/src/lib/evas/canvas/evas_canvas3d_mesh.c
index 606d399..091a8bf 100644
--- a/src/lib/evas/canvas/evas_canvas3d_mesh.c
+++ b/src/lib/evas/canvas/evas_canvas3d_mesh.c
@@ -1155,17 +1155,17 @@ _evas_canvas3d_mesh_convex_hull_data_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh
1155 1155
1156EOLIAN static void 1156EOLIAN static void
1157_evas_canvas3d_mesh_lod_boundary_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 1157_evas_canvas3d_mesh_lod_boundary_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
1158 Evas_Real near, Evas_Real far) 1158 Evas_Real near_lod, Evas_Real far_lod)
1159{ 1159{
1160 pd->near_lod_boundary = near; 1160 pd->near_lod_boundary = near_lod;
1161 pd->far_lod_boundary = far; 1161 pd->far_lod_boundary = far_lod;
1162} 1162}
1163 1163
1164EOLIAN static void 1164EOLIAN static void
1165_evas_canvas3d_mesh_lod_boundary_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 1165_evas_canvas3d_mesh_lod_boundary_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
1166 Evas_Real *near, Evas_Real *far) 1166 Evas_Real *near_lod, Evas_Real *far_lod)
1167{ 1167{
1168 *near = pd->near_lod_boundary; 1168 *near_lod = pd->near_lod_boundary;
1169 *far = pd->far_lod_boundary; 1169 *far_lod = pd->far_lod_boundary;
1170} 1170}
1171#include "canvas/evas_canvas3d_mesh.eo.c" 1171#include "canvas/evas_canvas3d_mesh.eo.c"