QNX: Make sure calls to (create/destroy)Surface are symmetric
authorKevin Ottens <kevin.ottens.qnx@kdab.com>
Tue, 22 May 2012 11:07:13 +0000 (13:07 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 12:47:14 +0000 (14:47 +0200)
commitb2832137129f4c7b66eadffb8b8aeee8486ac73b
tree1ded0867bb55e6d3f77dd4d85a9a9d1a8a3d198c
parent20a52687ecca534c494b82254b7fc021558ea603
QNX: Make sure calls to (create/destroy)Surface are symmetric

As a matter of fact also reduces state duplication with QQnxWindow
by getting rid of m_surfaceSize.

Change-Id: I47f5af0f00a317d3bb246c0c9161e2219fbd3263
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
src/plugins/platforms/qnx/qqnxglcontext.cpp
src/plugins/platforms/qnx/qqnxglcontext.h