diff demos/rpg/scripts/rpg.py @ 656:99e3ef63495b

* The RPG and Shooter demos now clear the screen when in OpenGL mode * Small update to the soundmanager to stop the stack overflow problem.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 22 Oct 2010 16:01:57 +0000
parents 90d369c788c0
children 46258f467c8c
line wrap: on
line diff
--- a/demos/rpg/scripts/rpg.py	Thu Oct 21 20:00:36 2010 +0000
+++ b/demos/rpg/scripts/rpg.py	Fri Oct 22 16:01:57 2010 +0000
@@ -148,6 +148,8 @@
 		super(RPGApplication,self).__init__(TDS)
 		self._settings = TDS
 		
+		self.engine.getRenderBackend().setClearBackBuffer(True)
+		
 		self._gamecontroller = GameController(self, self.engine, self._settings)
 
 	def createListener(self):