From 70a9f55f3d0454bc72429e140bae27d48c5e8903 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Thu, 15 Jun 2017 17:52:52 +0000 Subject: [PATCH] Revert "Enable GLES3.0 by default." This reverts commit b595c8cb3e23821406a4ba65e1e224cfb6443c36. Change-Id: I3cf62bb34a0f902caf29b8cf71ad48e1344d5ce3 --- build/tizen/configure.ac | 2 +- packaging/dali.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/tizen/configure.ac b/build/tizen/configure.ac index 0868eb3..ca4dd8e 100644 --- a/build/tizen/configure.ac +++ b/build/tizen/configure.ac @@ -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}" diff --git a/packaging/dali.spec b/packaging/dali.spec index e8d7cee..cb1d8c7 100644 --- a/packaging/dali.spec +++ b/packaging/dali.spec @@ -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; -- 2.7.4