diff engine/core/video/renderbackend.cpp @ 669:46258f467c8c

* Fixed the clear screen problems. The screen is now automatically cleared every frame by the engine if there are no maps loaded. In the process I removed the setClearBackBuffer() function from the RenderBackend.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Nov 2010 21:36:38 +0000
parents e8a799239384
children
line wrap: on
line diff
--- a/engine/core/video/renderbackend.cpp	Mon Nov 08 20:37:31 2010 +0000
+++ b/engine/core/video/renderbackend.cpp	Mon Nov 08 21:36:38 2010 +0000
@@ -35,7 +35,6 @@
 
 	RenderBackend::RenderBackend(const SDL_Color& colorkey):
 		m_screen(NULL),
-		m_clear(false),
 		m_isalphaoptimized(false),
 		m_iscolorkeyenabled(false),
 		m_colorkey(colorkey) {