mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
* Fix to Windows renderer deadlock (bug #2767, Daniel Deptford)
This commit is contained in:
parent
5efd7c8c36
commit
13b119a40c
1 changed files with 2 additions and 2 deletions
|
@ -1634,13 +1634,13 @@ void *GLimp_RendererSleep( void ) {
|
|||
wglErrors++;
|
||||
}
|
||||
|
||||
ResetEvent( renderActiveEvent );
|
||||
|
||||
// after this, the front end can exit GLimp_FrontEndSleep
|
||||
SetEvent( renderCompletedEvent );
|
||||
|
||||
WaitForSingleObject( renderCommandsEvent, INFINITE );
|
||||
|
||||
ResetEvent( renderActiveEvent );
|
||||
|
||||
if ( !qwglMakeCurrent( glw_state.hDC, glw_state.hGLRC ) ) {
|
||||
wglErrors++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue