diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-04-26 21:56:09 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-12-15 23:44:47 +0100 |
commit | 5da3cd2740033272a2da3bea79510d6058a2dcb4 (patch) | |
tree | 529a9752f83e7f9cdcd079dc028164382a0acf06 | |
parent | 9416ebd239996261abb67cdc7782260b0dee4654 (diff) | |
download | qtdeclarative-5da3cd2740033272a2da3bea79510d6058a2dcb4.tar.gz qtdeclarative-5da3cd2740033272a2da3bea79510d6058a2dcb4.tar.bz2 qtdeclarative-5da3cd2740033272a2da3bea79510d6058a2dcb4.zip |
Tizen: Use QT_TIZEN_EMULATOR macro
Instead of deprecated Q_OS_LINUX_TIZEN_SIMULATOR.
Change-Id: I9de03126807ac3f32248594e63201234f7020b1e
Reviewed-by: Leon Anavi <leon@anavi.org>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r-- | src/quick/scenegraph/qsgcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index c2534871b..0f97d1607 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -650,7 +650,7 @@ void QSGRenderContext::initialize(QOpenGLContext *context) } m_sg->renderContextInitialized(this); -#if defined(Q_OS_LINUX) && !defined(Q_OS_LINUX_TIZEN_SIMULATOR) +#if defined(Q_OS_LINUX) && !defined(QT_TIZEN_EMULATOR) const char *vendor = (const char *) funcs->glGetString(GL_VENDOR); if (strstr(vendor, "nouveau")) m_brokenIBOs = true; @@ -661,7 +661,7 @@ void QSGRenderContext::initialize(QOpenGLContext *context) m_brokenIBOs = true; #endif -#ifdef Q_OS_LINUX_TIZEN_SIMULATOR +#ifdef QT_TIZEN_EMULATOR m_brokenIBOs = true; #endif |