This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 9d68868f8ed1c3116b68c99c249de20cb64f2385
Author: krzys-h <krzy...@interia.pl>
Date:   Sat Oct 25 18:00:39 2014 +0200

    Possible fix for #339 (?)
---
 src/graphics/engine/engine.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index db702b7..ae6f238 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -295,6 +295,9 @@ bool CEngine::Create()
 void CEngine::Destroy()
 {
     m_text->Destroy();
+    
+    delete m_pause;
+    m_pause = nullptr;
 
     delete m_lightMan;
     m_lightMan = nullptr;
@@ -325,6 +328,8 @@ void CEngine::ResetAfterDeviceChanged()
     m_text->FlushCache();
 
     FlushTextureCache();
+    
+    LoadAllTextures();
 }
 
 bool CEngine::ProcessEvent(const Event &event)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to