aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2015-03-22 19:11:36 +1000
committerDavid Walter Seikel2015-03-22 19:11:36 +1000
commit9efeecacd9ece7760949e5265d31427a8fb8c36c (patch)
tree021038a12efedd24070391d7292b7b47072ec2d2
parentComment out the radio buttons for now, this is causing the crashing. (diff)
downloadSledjHamr-9efeecacd9ece7760949e5265d31427a8fb8c36c.zip
SledjHamr-9efeecacd9ece7760949e5265d31427a8fb8c36c.tar.gz
SledjHamr-9efeecacd9ece7760949e5265d31427a8fb8c36c.tar.bz2
SledjHamr-9efeecacd9ece7760949e5265d31427a8fb8c36c.tar.xz
The new way to beg for the proper 3D graphics engine.
-rw-r--r--src/extantz/extantz.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index af8fe1c..b96346a 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -626,12 +626,11 @@ EAPI_MAIN int elm_main(int argc, char **argv)
626 gld = &ourGlobals.gld; 626 gld = &ourGlobals.gld;
627 gldata_init(gld); 627 gldata_init(gld);
628 628
629 // Set the engine to opengl_x11, then open our window. 629 // One or more of these lets us use the 3D stuff.
630 setenv("ELM_ENGINE", "opengl_x11", 1); 630 setenv("ELM_ENGINE", "opengl_x11", 1);
631 elm_config_preferred_engine_set("opengl_x11"); 631 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
632 elm_config_accel_preference_set("3d");
632 ourGlobals.mainWindow = winFangAdd(NULL, 0, 0, 50, 20, "extantz virtual world viewer", "extantz", NULL); 633 ourGlobals.mainWindow = winFangAdd(NULL, 0, 0, 50, 20, "extantz virtual world viewer", "extantz", NULL);
633 // Set preferred engine back to default from config
634 elm_config_preferred_engine_set(NULL);
635 634
636 ourGlobals.win = ourGlobals.mainWindow->win; 635 ourGlobals.win = ourGlobals.mainWindow->win;
637 // TODO, or not TODO - I keep getting rid of these, but keep bringing them back. 636 // TODO, or not TODO - I keep getting rid of these, but keep bringing them back.