From: Heeyong Song Date: Mon, 10 Jul 2017 08:30:24 +0000 (+0900) Subject: Revert "[3.0] Enable GLES3.0 by default." X-Git-Tag: accepted/tizen/3.0/common/20170714.174659~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=commitdiff_plain;h=2f3c094d265a67c6a8cd1ce40d771415515b99e6 Revert "[3.0] Enable GLES3.0 by default." This reverts commit b1cb762cfd8a98510fb22e6ee9f076a2b90686a6. Change-Id: I41a6ef2c03eab68c86306398744b04d3ed82d3f8 --- 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;