summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-07-25 00:27:01 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-07-25 00:27:01 +0200
commit42963b341f3fbc055c494a0dc0c97d395fa69562 (patch)
treee1152b55f259dda115aad080360a09499eb15fbf /src/app
parent9d592045317ca66be415e60ba4c2db90b5d7ad3e (diff)
downloadcolobot-42963b341f3fbc055c494a0dc0c97d395fa69562.tar.gz
colobot-42963b341f3fbc055c494a0dc0c97d395fa69562.tar.bz2
colobot-42963b341f3fbc055c494a0dc0c97d395fa69562.zip
Refactoring of texture code
- refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index e626695..c778a63 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -170,14 +170,6 @@ bool CApplication::Create()
// Create the 3D engine
m_engine = new Gfx::CEngine(m_iMan, this);
- // Initialize the app's custom scene stuff, but before initializing the graphics device
- if (! m_engine->BeforeCreateInit())
- {
- SystemDialog(SDT_ERROR, "COLOBOT - Error", std::string("Error in CEngine::BeforeCreateInit() :\n") +
- std::string(m_engine->GetError()) );
- m_exitCode = 1;
- return false;
- }
/* // Create the sound instance.
m_sound = new CSound(m_iMan);