diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-18 03:56:00 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-23 17:44:03 +0200 |
commit | d5d6a56809032796444fe63c220a2e940ce237c0 (patch) | |
tree | ec7bd06c514ba413f28c031b58db69b89b92b2bf /tests/auto/quick/pointerhandlers/qquickpinchhandler | |
parent | 1aea94e58f572fe6dbd1146a80ecf5be6602a7af (diff) |
Move resetOpenGLState out of QQFBO
QQFBO is not the only client of resetOpenGLState. Although in theory
third-party GL code that integrates with QtQuick should reset its
state, in practice it doesn't. By making resetOpenGLState
only available into QQFBO, now we're blocking a Qt5->6 upgrade path.
There's also no compelling reason for this function to be in QQFBO
at all, so move it out to as a free function in a ad-hoc new namespace.
Change-Id: Ic8e5c7e244db37a5b6257d516e6aea3a9db44898
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/quick/pointerhandlers/qquickpinchhandler')
0 files changed, 0 insertions, 0 deletions