[3.0] Enable GLES3.0 by default. 68/134268/2
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 14 Jun 2017 15:50:09 +0000 (16:50 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Thu, 15 Jun 2017 14:49:07 +0000 (14:49 +0000)
Change-Id: I358d172244716840e16a57bdd980dc2be349bd69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
build/tizen/configure.ac
packaging/dali.spec

index bebc98a..22a83f0 100644 (file)
@@ -64,7 +64,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 2ad98e3..c01bf5f 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;