Remove unneeded call to SDL_GetWindowSize

This commit is contained in:
Jose Diez 2015-11-10 16:03:25 +00:00 committed by Harry Jeffery
parent 8009561ae0
commit 56a647c4a4

2
main.c
View file

@ -180,8 +180,6 @@ int main(int argc, char** argv)
double dt = cur_time - last_time;
SDL_Event e;
int ww, wh;
SDL_GetWindowSize(g_window, &ww, &wh);
while(!quit && SDL_PollEvent(&e)) {
switch(e.type) {
case SDL_QUIT: