Codechange: [Video] make the prototype of PollEvent() the same for all drivers
Additionally, call it from the draw-tick.
This commit is contained in:
committed by
Patric Stout
parent
70e4845915
commit
c409f45ddd
@@ -440,8 +440,6 @@ void VideoDriver_Cocoa::GameLoop()
|
||||
|
||||
InteractiveRandom(); // randomness
|
||||
|
||||
while (this->PollEvent()) {}
|
||||
|
||||
if (_exit_game) {
|
||||
/* Restore saved resolution if in fullscreen mode. */
|
||||
if (this->IsFullscreen()) _cur_resolution = this->orig_res;
|
||||
|
||||
Reference in New Issue
Block a user