diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-08-31 17:53:38 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-31 11:58:48 +0200 |
commit | 3108a36914d59d8a0d15bfdb2b5bbb09aa6e54a2 (patch) | |
tree | 20f4135e9f2cf79185b2df78913d3cb3fbcea884 /src/declarative/particles | |
parent | 1a61dda170589fe7a419930dec5b6d44375ffbe6 (diff) |
Add #version 120 in more places.
Desktop GL implementations don't seem bothered, but not all the ES 2
ones could handle it.
Change-Id: I93af18be342d8d418067a54769d69efc87442886
Reviewed-on: http://codereview.qt.nokia.com/3916
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/declarative/particles')
-rw-r--r-- | src/declarative/particles/qsgimageparticle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/particles/qsgimageparticle.cpp b/src/declarative/particles/qsgimageparticle.cpp index f3bf2f011e..ec6c7375dc 100644 --- a/src/declarative/particles/qsgimageparticle.cpp +++ b/src/declarative/particles/qsgimageparticle.cpp @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE //###Switch to define later, for now user-friendly (no compilation) debugging is worth it DEFINE_BOOL_CONFIG_OPTION(qmlParticlesDebug, QML_PARTICLES_DEBUG) -#ifdef Q_WS_MAC +#ifndef QT_OPENGL_ES_2 #define SHADER_DEFINES "#version 120\n" #else #define SHADER_DEFINES "" |