summaryrefslogtreecommitdiffstats
path: root/src/corelib/corelib.pro
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-28 15:28:38 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-31 12:27:04 (GMT)
commit5cd15cc3e4da69074d6cd0a2c5b3a987af4e24c1 (patch)
tree23f58c7f75c753c305fc1225b86fff0b5a9e9140 /src/corelib/corelib.pro
parente5f823c014238469fbec6de1983a6bf0c392cbbc (diff)
downloadQt-5cd15cc3e4da69074d6cd0a2c5b3a987af4e24c1.zip
Qt-5cd15cc3e4da69074d6cd0a2c5b3a987af4e24c1.tar.gz
Qt-5cd15cc3e4da69074d6cd0a2c5b3a987af4e24c1.tar.bz2
Fixed crash when sharing OpenGL contexts in the GL2 paint engine.
Shader objects had a pointer to the context they were originally created in. If the context was destroyed, the shader would (on Windows) dereference an invalid pointer and cause the program to crash. I replaced the context pointer with a pointer to the context group. I also added checks in debug mode to make sure the context associated with the shader shares resources with the current context. Reviewed-by: Tom
Diffstat (limited to 'src/corelib/corelib.pro')
0 files changed, 0 insertions, 0 deletions