aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/accessible/qaccessiblequickitem.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2016-10-04 12:58:02 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2016-10-13 13:50:48 +0000
commit342f18c71f51227a062bd204037541ecae150846 (patch)
treed13ff1092f518511704f0cbd8d9af7aaef338a21 /src/quick/accessible/qaccessiblequickitem.cpp
parentf720242419cd73529277173e43e9f7a8ed367ad3 (diff)
Check qgl_current_fbo_invalid before using qgl_current_fbo
QSG24BitTextMaskShader::useSRGB() on macOS accesses the current context qgl_current_fbo member without first checking if it is valid. Make sure it also checks qgl_current_fbo_invalid, thus not accidentally dereferencing a dangling pointer. Change-Id: I56a77de23ee3b4b271bd848506ff26e14d7b6d15 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/accessible/qaccessiblequickitem.cpp')
0 files changed, 0 insertions, 0 deletions