aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/scenri.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-06 00:37:13 +1000
committerDavid Walter Seikel2014-05-06 00:37:13 +1000
commit95d791b9dbdcb6bb27a9ee2ce5aa17cdf9a933bf (patch)
tree60c82569897b5d39234169fd8fd81c88d8459afa /src/extantz/scenri.c
parentShuffle stuff around into the new scenri.c and camera stuff. (diff)
downloadSledjHamr-95d791b9dbdcb6bb27a9ee2ce5aa17cdf9a933bf.zip
SledjHamr-95d791b9dbdcb6bb27a9ee2ce5aa17cdf9a933bf.tar.gz
SledjHamr-95d791b9dbdcb6bb27a9ee2ce5aa17cdf9a933bf.tar.bz2
SledjHamr-95d791b9dbdcb6bb27a9ee2ce5aa17cdf9a933bf.tar.xz
Camera no longer needs ourGlobals.
Diffstat (limited to '')
-rw-r--r--src/extantz/scenri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extantz/scenri.c b/src/extantz/scenri.c
index 0805108..0c71ba2 100644
--- a/src/extantz/scenri.c
+++ b/src/extantz/scenri.c
@@ -113,7 +113,7 @@ Scene_Data *scenriAdd(globals *ourGlobals)
113 elm_object_tooltip_text_set(obj, ""); 113 elm_object_tooltip_text_set(obj, "");
114 elm_object_tooltip_hide(obj); 114 elm_object_tooltip_hide(obj);
115 scene->image = obj; 115 scene->image = obj;
116 scene->camera_node = cameraAdd(ourGlobals, scene, obj); 116 scene->camera_node = cameraAdd(ourGlobals->evas, scene, obj);
117 117
118 scene->light = eo_add(EVAS_3D_LIGHT_CLASS, ourGlobals->evas, 118 scene->light = eo_add(EVAS_3D_LIGHT_CLASS, ourGlobals->evas,
119 evas_3d_light_ambient_set(1.0, 1.0, 1.0, 1.0), 119 evas_3d_light_ambient_set(1.0, 1.0, 1.0, 1.0),