Remove passing around pointer to gameScreen from KeyPoll::Poll()

Makes for cleaner code this way.
This commit is contained in:
Misa
2020-06-13 11:44:22 -07:00
committed by Ethan Lee
parent 30bcc08bec
commit 51d852601d
3 changed files with 6 additions and 6 deletions

View File

@@ -339,7 +339,7 @@ int main(int argc, char *argv[])
key.Poll(&gameScreen);
key.Poll();
if(key.toggleFullscreen)
{
if(!gameScreen.isWindowed)