When running an event loop with many conditional branches and such commands that don't exit the interpreter loop in the scripts, my game starts to drop its frame rate to 25~on average while in windowed mode. However, when I play in full screen, you can't even notice it.
Is there any particular reason why full screen lags a lot less than windowed mode?
And in that case, is there an API call available to check if the game is currently in full screen or not?
It's kind of a general question even though the last inquiry is a scripting question, I thought it would fit best here.
Thanks in advance.
Is there any particular reason why full screen lags a lot less than windowed mode?
And in that case, is there an API call available to check if the game is currently in full screen or not?
It's kind of a general question even though the last inquiry is a scripting question, I thought it would fit best here.
Thanks in advance.