diff options
author | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-06-12 20:41:49 +0000 |
---|---|---|
committer | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-06-12 20:41:49 +0000 |
commit | 20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530 (patch) | |
tree | 5fd7cc45a44c46b1134788ed90ffb70398179f4d /examples/16.Quake3MapShader/main.cpp | |
parent | 084e0e669a8d9c6a373ff3bcb410febca4d4a48a (diff) | |
download | irrlicht-20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530.tar.xz |
Merging r6075 through r6106 from trunk to ogl-es branch.
Burnings renderer changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6116 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'examples/16.Quake3MapShader/main.cpp')
-rw-r--r-- | examples/16.Quake3MapShader/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/16.Quake3MapShader/main.cpp b/examples/16.Quake3MapShader/main.cpp index e8a318d..38062c5 100644 --- a/examples/16.Quake3MapShader/main.cpp +++ b/examples/16.Quake3MapShader/main.cpp @@ -318,7 +318,7 @@ int IRRCALLCONV main(int argc, char* argv[]) device->getCursorControl()->setVisible(false);
// load the engine logo
- gui->addImage(driver->getTexture("irrlichtlogo2.png"),
+ gui->addImage(driver->getTexture("irrlichtlogo3.png"),
core::position2d<s32>(10, 10));
// show the driver logo
@@ -335,6 +335,8 @@ int IRRCALLCONV main(int argc, char* argv[]) case video::EDT_DIRECT3D9:
gui->addImage(driver->getTexture("directxlogo.png"), pos);
break;
+ default:
+ break;
}
/*
@@ -355,14 +357,14 @@ int IRRCALLCONV main(int argc, char* argv[]) driver->endScene();
int fps = driver->getFPS();
- //if (lastFPS != fps)
+ if (1 || lastFPS != fps)
{
- io::IAttributes * const attr = smgr->getParameters();
core::stringw str = L"Q3 [";
str += driver->getName();
str += "] FPS:";
str += fps;
#ifdef _IRR_SCENEMANAGER_DEBUG
+ io::IAttributes * const attr = smgr->getParameters();
str += " Cull:";
str += attr->getAttributeAsInt("calls");
str += "/";
|