Change-Id: I358d172244716840e16a57bdd980dc2be349bd69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
[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}"
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;