diff engine/core/controller/engine.cpp @ 653:01acc9fc35ea

* Moved getCurrentScreenMode() to the renderbackend as renderbackend is what initializes the screen. * Updated the Color masks to follow the integer standards * Added some new SDL modes (HW Surface and double buffer) to check for in DeviceCaps. * RenderBackend now saves the actual flags used to initialize the screen.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 15 Oct 2010 18:54:34 +0000
parents da9c4cfe8f8e
children 5d6b1820b953
line wrap: on
line diff
--- a/engine/core/controller/engine.cpp	Fri Oct 15 15:13:10 2010 +0000
+++ b/engine/core/controller/engine.cpp	Fri Oct 15 18:54:34 2010 +0000
@@ -131,10 +131,6 @@
 		return m_devcaps;
 	}
 
-	const ScreenMode& Engine::getCurrentScreenMode() const{
-		return m_screenMode;
-	}
-
 	void Engine::preInit() {
 		m_logmanager = LogManager::instance();