aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Diez <jose.manuel.diez@gmail.com>2015-11-10 16:03:25 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-10 16:18:00 +0000
commit56a647c4a4933c3c69c7bd0129848f8dedfc03f6 (patch)
tree9cf17be3762836f82476c0eb6dcd43232dffc03b
parent8009561ae0d39b9b0bee7afeb656e24a6250deef (diff)
downloadimv-56a647c4a4933c3c69c7bd0129848f8dedfc03f6.tar.gz
Remove unneeded call to SDL_GetWindowSize
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0489ae8..8f04788 100644
--- a/main.c
+++ b/main.c
@@ -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: