jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e0e29b902b1d199e3aae31b0f284cbd383471542

commit e0e29b902b1d199e3aae31b0f284cbd383471542
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Tue Jun 2 16:43:20 2015 +0900

    examples: Replace preferred engine "opengl_x11" with accel preference "3d".
    
    Replace preferred engine "opengl_x11" with accel preference "3d".
---
 src/examples/evas3d_map_example.c                  | 2 +-
 src/examples/evas3d_object_on_button_example.c     | 2 +-
 src/examples/evas3d_scene_on_button_example.c      | 2 +-
 src/examples/sphere_hunter/evas_3d_sphere_hunter.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/examples/evas3d_map_example.c 
b/src/examples/evas3d_map_example.c
index 692d835..b1cc247 100644
--- a/src/examples/evas3d_map_example.c
+++ b/src/examples/evas3d_map_example.c
@@ -1185,7 +1185,7 @@ elm_main(int argc, char **argv)
 
    elm_app_info_set(elm_main, "elementary", "examples/evas3d_map_example.edj");
 
-   elm_config_preferred_engine_set("opengl_x11");
+   elm_config_accel_preference_set("3d");
 
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
diff --git a/src/examples/evas3d_object_on_button_example.c 
b/src/examples/evas3d_object_on_button_example.c
index bcf6426..b578e58 100644
--- a/src/examples/evas3d_object_on_button_example.c
+++ b/src/examples/evas3d_object_on_button_example.c
@@ -296,7 +296,7 @@ elm_main(int argc, char **argv)
 {
    Scene_Data data;
 
-   elm_config_preferred_engine_set("opengl_x11");
+   elm_config_accel_preference_set("3d");
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
    win = elm_win_util_standard_add("evas3d-object-button", "A button on the 3d 
object");
diff --git a/src/examples/evas3d_scene_on_button_example.c 
b/src/examples/evas3d_scene_on_button_example.c
index 55a567e..f1f014b 100644
--- a/src/examples/evas3d_scene_on_button_example.c
+++ b/src/examples/evas3d_scene_on_button_example.c
@@ -273,7 +273,7 @@ elm_main(int argc, char **argv)
 {
    Scene_Data data;
 
-   elm_config_preferred_engine_set("opengl_x11");
+   elm_config_accel_preference_set("3d");
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
    win = elm_win_util_standard_add("evas3d-scene-button", "3d object on the 
button");
diff --git a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c 
b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
index 1174b67..5036e29 100644
--- a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
+++ b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
@@ -854,7 +854,7 @@ elm_main(int argc, char **argv)
    Scene_Data data;
    Eina_Bool r = EINA_TRUE;
 
-   setenv("ELM_ENGINE", "opengl_x11", 1);
+   setenv("ELM_ACCEL", "3d", 1);
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
    win = elm_win_util_standard_add("__WIN__", "Sphere Hunter");

-- 


Reply via email to