diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-04-15 10:16:43 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-04-15 10:23:05 (GMT) |
commit | 42998c318800ed5ac578e54a13063d40b94ebf66 (patch) | |
tree | 8317d1b14b9ba4eb1cbfb801724c861aab609b15 | |
parent | a67ab4fd1065d434f4a14b72ee2d991a71af493c (diff) | |
download | Qt-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.cpp | 2 |
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); } |