Working on the Window refactoring.

This commit is contained in:
Martín Lucas Golini
2014-06-14 18:50:04 -03:00
parent 98df342f8b
commit 4b31bb9fbc
125 changed files with 875 additions and 882 deletions

View File

@@ -33,7 +33,7 @@ void MainLoop()
EE_MAIN_FUNC int main (int argc, char * argv [])
{
// Create a new window with vsync enabled
win = cEngine::instance()->CreateWindow( WindowSettings( 960, 640, "eepp - Empty Window" ), ContextSettings( true ) );
win = Engine::instance()->CreateWindow( WindowSettings( 960, 640, "eepp - Empty Window" ), ContextSettings( true ) );
// Check if created
if ( win->Created() ) {
@@ -52,7 +52,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
}
// Destroy the engine instance. Destroys all the windows and engine singletons.
cEngine::DestroySingleton();
Engine::DestroySingleton();
// If was compiled in debug mode it will print the memory manager report
MemoryManager::ShowResults();