[colobot] 121/390: Another possible (and more likely correct) fix for #339

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:36 UTC 2015


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

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

commit c9eb3ce5c57e48af52f0798bff0aa7c42448d154
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Oct 25 18:17:03 2014 +0200

    Another possible (and more likely correct) fix for #339
---
 src/graphics/opengl/gldevice.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/graphics/opengl/gldevice.cpp b/src/graphics/opengl/gldevice.cpp
index 032fa24..9cf3235 100644
--- a/src/graphics/opengl/gldevice.cpp
+++ b/src/graphics/opengl/gldevice.cpp
@@ -187,7 +187,7 @@ bool CGLDevice::Create()
 {
     GetLogger()->Info("Creating CDevice\n");
 
-    static bool glewInited = false;
+    /*static*/ bool glewInited = false;
 
     if (!glewInited)
     {

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



More information about the Pkg-games-commits mailing list