summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-04-15 10:16:43 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-04-15 10:23:05 (GMT)
commit42998c318800ed5ac578e54a13063d40b94ebf66 (patch)
tree8317d1b14b9ba4eb1cbfb801724c861aab609b15
parenta67ab4fd1065d434f4a14b72ee2d991a71af493c (diff)
downloadQt-42998c318800ed5ac578e54a13063d40b94ebf66.zip
Qt-42998c318800ed5ac578e54a13063d40b94ebf66.tar.gz
Qt-42998c318800ed5ac578e54a13063d40b94ebf66.tar.bz2
Lighthouse: Make directfb conform with ligthhouse gl context api
-rw-r--r--src/plugins/platforms/directfb/qdirectfbglcontext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbglcontext.cpp b/src/plugins/platforms/directfb/qdirectfbglcontext.cpp
index ee46691..85effc9 100644
--- a/src/plugins/platforms/directfb/qdirectfbglcontext.cpp
+++ b/src/plugins/platforms/directfb/qdirectfbglcontext.cpp
@@ -70,11 +70,13 @@ QDirectFbGLContext::QDirectFbGLContext(IDirectFBGL *glContext)
void QDirectFbGLContext::makeCurrent()
{
+ QPlatformGLContext::makeCurrent();
m_dfbGlContext->Lock(m_dfbGlContext);
}
void QDirectFbGLContext::doneCurrent()
{
+ QPlatformGLContext::doneCurrent();
m_dfbGlContext->Unlock(m_dfbGlContext);
}