Return appropriate currentContext() in platform's makeCurrent().
authorSamuel Rødal <samuel.rodal@digia.com>
Mon, 5 Nov 2012 14:55:49 +0000 (15:55 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 21:47:42 +0000 (22:47 +0100)
commite24c8d1266fcf42292b48a7dc119dd5f3a217989
tree374d65b34750473a0a6061207e86501b20f0cd32
parent5f915d0b91bbc3d8c8c31e99f4f6b9e7b341cd90
Return appropriate currentContext() in platform's makeCurrent().

This way the platform plugin can use convenience classes such as
QOpenGLFramebufferObject in the makeCurrent() implementation.

Change-Id: I1fb5f6b8ec094ff39454adbeca9eb0d1a8f43ee6
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
src/gui/kernel/qopenglcontext.cpp
src/gui/kernel/qopenglcontext_p.h