From 2f3c094d265a67c6a8cd1ce40d771415515b99e6 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 10 Jul 2017 17:30:24 +0900 Subject: [PATCH] Revert "[3.0] Enable GLES3.0 by default." This reverts commit b1cb762cfd8a98510fb22e6ee9f076a2b90686a6. Change-Id: I41a6ef2c03eab68c86306398744b04d3ed82d3f8 --- 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 22a83f0..bebc98a 100644 --- a/build/tizen/configure.ac +++ b/build/tizen/configure.ac @@ -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=30]) + [enable_gles=20]) DALI_CFLAGS="$DALI_CFLAGS -DDALI_GLES_VERSION=${enable_gles}" diff --git a/packaging/dali.spec b/packaging/dali.spec index c01bf5f..2ad98e3 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