Opengl fix

This commit is contained in:
Bryan Hoyle 2012-11-16 16:50:02 -05:00
parent 4192a57146
commit fec50a2a8e
2 changed files with 5 additions and 2 deletions

1
others/mniip Submodule

@ -0,0 +1 @@
Subproject commit b97cbb01e590b4e16c014e07c5e5dec6b680666a

View File

@ -293,7 +293,7 @@ int elapsedTime = 0, currentTime = 0, lastTime = 0, currentFrame = 0;
unsigned int lastTick = 0;
float fps = 0, delta = 1.0f, inputScale = 1.0f;
ui::Engine * engine = NULL;
float currentWidth, currentHeight;
void EngineProcess()
{
int frameStart;
@ -416,7 +416,9 @@ void EngineProcess()
int main(int argc, char * argv[])
{
float currentWidth = XRES+BARSIZE, currentHeight = YRES+MENUSIZE;
currentWidth = XRES+BARSIZE;
currentHeight = YRES+MENUSIZE;
std::map<std::string, std::string> arguments = readArguments(argc, argv);