Opengl fix
This commit is contained in:
parent
4192a57146
commit
fec50a2a8e
1
others/mniip
Submodule
1
others/mniip
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit b97cbb01e590b4e16c014e07c5e5dec6b680666a
|
@ -293,7 +293,7 @@ int elapsedTime = 0, currentTime = 0, lastTime = 0, currentFrame = 0;
|
|||||||
unsigned int lastTick = 0;
|
unsigned int lastTick = 0;
|
||||||
float fps = 0, delta = 1.0f, inputScale = 1.0f;
|
float fps = 0, delta = 1.0f, inputScale = 1.0f;
|
||||||
ui::Engine * engine = NULL;
|
ui::Engine * engine = NULL;
|
||||||
|
float currentWidth, currentHeight;
|
||||||
void EngineProcess()
|
void EngineProcess()
|
||||||
{
|
{
|
||||||
int frameStart;
|
int frameStart;
|
||||||
@ -416,7 +416,9 @@ void EngineProcess()
|
|||||||
|
|
||||||
int main(int argc, char * argv[])
|
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);
|
std::map<std::string, std::string> arguments = readArguments(argc, argv);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user