X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=c78dc28755817be7376ad9edb5c1d5cedeb76800;hb=94df0906c159318cb39bb4ee063336ba3cf51ccb;hp=d79162bf38930d2f10bdb9237cb708f7e56f6641;hpb=c015d9cbc97f857a60f1e2059424f960eb53f05d;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index d79162b..c78dc28 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -47,7 +48,6 @@ extern int slomo; extern bool cellophane; extern float texdetail; -extern bool osx; extern bool freeze; extern bool stillloading; extern int mainmenu; @@ -202,7 +202,7 @@ void toggleFullscreen() SDL_SetWindowFullscreen(sdlwindow, flags); } -static SDL_bool sdlEventProc(const SDL_Event &e) +SDL_bool sdlEventProc(const SDL_Event &e) { switch (e.type) { case SDL_QUIT: @@ -245,7 +245,6 @@ bool SetUp () { LOGFUNC; - osx = 0; cellophane = 0; texdetail = 4; slomospeed = 0.25;