Enable GLES3.0 by default. 10/134110/2
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 14 Jun 2017 15:50:09 +0000 (16:50 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 15 Jun 2017 06:46:16 +0000 (07:46 +0100)
Change-Id: I358d172244716840e16a57bdd980dc2be349bd69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
build/tizen/configure.ac
packaging/dali.spec

index ca4dd8e..0868eb3 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=20])
+              [enable_gles=30])
 
 DALI_CFLAGS="$DALI_CFLAGS -DDALI_GLES_VERSION=${enable_gles}"
 
index cb1d8c7..e8d7cee 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 2.0 if not specified.
-%{!?target_gles_version: %define target_gles_version 20}
+# Default to GLES 3.0 if not specified.
+%{!?target_gles_version: %define target_gles_version 30}
 
 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS;