diff options
| author | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-09-16 12:14:35 (GMT) |
|---|---|---|
| committer | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-09-16 12:17:41 (GMT) |
| commit | daf89d5e30aa582a03ec9475641ff5c213d720c0 (patch) | |
| tree | fac41c063c81e25fbece1aad9694bf6786f095f6 /doc/src/snippets/code/src_script_qscriptclass.cpp | |
| parent | c5f1f0ba1cb4784b09dd4553df5c6d3f0d3ad938 (diff) | |
| download | Qt-daf89d5e30aa582a03ec9475641ff5c213d720c0.zip Qt-daf89d5e30aa582a03ec9475641ff5c213d720c0.tar.gz Qt-daf89d5e30aa582a03ec9475641ff5c213d720c0.tar.bz2 | |
Fixes makeCurrent() failed messages on several systems.
Small but important fix for threaded environments. If a thread
exits without releasing the current context, it could cause
the resource system to get confused. Particularly on Windows, where
a DC can only be used in the thread it is retrieved in.
We don't need the EGL specific fix anymore since it will have the
same effect as a doneCurrent() call.
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions
