summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfilesystemmodel
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-10 11:08:46 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-10 11:13:26 +0200
commitb300c3022d285deb3b3203aca0746580ba9f3d91 (patch)
tree84975e875de489fda6400ffdbd7bfa82050b91af /tests/auto/qfilesystemmodel
parent2c232cdbce3eba095da26362b964f411a9d3ba80 (diff)
Fix crash in gl2 paint engine on Windows
wglGetProcAddress() on Windows requires a current context. Since there was none, the resolution of GL extensions would silently fail, the function pointers would be null and when we tried to use them later we would get a crash (e.g. in startup of PadNavigator.) I've added an assert to make the cause of the crash clearer, and a makeCurrent() to fix the crash. Reviewed-by: Tom
Diffstat (limited to 'tests/auto/qfilesystemmodel')
0 files changed, 0 insertions, 0 deletions