summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-09 14:17:19 +0100
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-09 14:17:19 +0100
commitdd993e33618147731c612add8da754a914854965 (patch)
treee3ba38acccb6fbe6d08fc52c1b8e5d330d508761
parent57bf97a3591b70c5e0570bb829854130cf4c8432 (diff)
Compile fix on Windows.
-rw-r--r--src/scenegraph/coreapi/qsgtexturemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scenegraph/coreapi/qsgtexturemanager.cpp b/src/scenegraph/coreapi/qsgtexturemanager.cpp
index 218c1ea..b807977 100644
--- a/src/scenegraph/coreapi/qsgtexturemanager.cpp
+++ b/src/scenegraph/coreapi/qsgtexturemanager.cpp
@@ -48,6 +48,10 @@
#include <qqueue.h>
#include <qdatetime.h>
+#ifndef GL_BGRA
+#define GL_BGRA 0x80E1
+#endif
+
QSGTexture::QSGTexture()
: m_status(Null)
, m_texture_id(0)