mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-20 18:09:41 +02:00
Ddraw::Unlock no longer calls present, Device_Present needs to be manually called. This helps performance and visuals.
This commit is contained in:
@@ -719,7 +719,7 @@ void WWSDL_ProcessEvents(KeyNumType& key, int& flags) {
|
||||
Keyboard->MouseQY = mousey;
|
||||
|
||||
// if (flags == LEFTRELEASE || flags == RIGHTRELEASE)
|
||||
// flags = 0;
|
||||
// flags = 0;
|
||||
|
||||
SDL_Event event;
|
||||
while (SDL_PollEvent(&event)) {
|
||||
@@ -749,6 +749,8 @@ void WWSDL_ProcessEvents(KeyNumType& key, int& flags) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Device_Present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user