summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-cube2.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-05-07 15:32:11 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-05-07 15:35:36 +0900
commit2bbba9bec9db90c7b3f0375923df08a8781cef80 (patch)
treeea7e0cea0c74637589f524b25ed65c3180a49aff /src/examples/evas/evas-3d-cube2.c
parent935db516b2be3eb87018524a0cf1937c711dfefd (diff)
evas/evas3d: set gl backened forcely in the examples
Right now, evas 3d doesn't support software renderer, we set the gl backened forcely.
Diffstat (limited to 'src/examples/evas/evas-3d-cube2.c')
-rw-r--r--src/examples/evas/evas-3d-cube2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index ac0bbdc..cdf01c9 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -292,6 +292,9 @@ _scene_setup(Scene_Data *data)
292int 292int
293main(void) 293main(void)
294{ 294{
295 //Unless Evas 3D supports Software renderer, we set gl backened forcely.
296 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
297
295 Scene_Data data; 298 Scene_Data data;
296 299
297 if (!ecore_evas_init()) return 0; 300 if (!ecore_evas_init()) return 0;