Revert "Enable GLES3.0 by default." 79/134279/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 15 Jun 2017 17:52:52 +0000 (17:52 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 15 Jun 2017 17:52:52 +0000 (17:52 +0000)
This reverts commit b595c8cb3e23821406a4ba65e1e224cfb6443c36.

Change-Id: I3cf62bb34a0f902caf29b8cf71ad48e1344d5ce3

build/tizen/configure.ac
packaging/dali.spec

index 0868eb3..ca4dd8e 100644 (file)
@@ -67,7 +67,7 @@ AC_ARG_ENABLE([gles],
               [AC_HELP_STRING([--enable-gles],
                               [Specify the OpenGL ES version for backwards compatibility])],
               [enable_gles=$enableval],
-              [enable_gles=30])
+              [enable_gles=20])
 
 DALI_CFLAGS="$DALI_CFLAGS -DDALI_GLES_VERSION=${enable_gles}"
 
index e8d7cee..cb1d8c7 100644 (file)
@@ -86,8 +86,8 @@ DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
 export DALI_DATA_RW_DIR
 export DALI_DATA_RO_DIR
 
-# Default to GLES 3.0 if not specified.
-%{!?target_gles_version: %define target_gles_version 30}
+# Default to GLES 2.0 if not specified.
+%{!?target_gles_version: %define target_gles_version 20}
 
 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS;