aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/GuiLua/GuiLua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index 4e1b863..b889681 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -368,6 +368,8 @@ _mesh_setup(globals *ourGlobals, Scene_Data *scene)
368 evas_3d_node_mesh_add(scene->mesh) 368 evas_3d_node_mesh_add(scene->mesh)
369 ); 369 );
370 370
371#if DO_CUBE
372#else
371 // Setup an MD2 mesh. 373 // Setup an MD2 mesh.
372 scene->mesh2 = eo_add(EVAS_3D_MESH_CLASS, ourGlobals->evas); 374 scene->mesh2 = eo_add(EVAS_3D_MESH_CLASS, ourGlobals->evas);
373 eo_do(scene->mesh2, 375 eo_do(scene->mesh2,
@@ -412,6 +414,7 @@ _mesh_setup(globals *ourGlobals, Scene_Data *scene)
412 eo_do(scene->mesh2, 414 eo_do(scene->mesh2,
413 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG) 415 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG)
414 ); 416 );
417#endif
415} 418}
416 419
417 420