[colobot] 290/377: Fix compilation error

Didier Raboud odyx at moszumanska.debian.org
Wed Mar 30 13:34:28 UTC 2016


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

odyx pushed a commit to branch debian/master
in repository colobot.

commit 0ad53cc0d8550b6dc003ba58f84b24626a594de7
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date:   Thu Feb 18 01:36:37 2016 +0100

    Fix compilation error
---
 src/graphics/opengl/glutil.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/graphics/opengl/glutil.cpp b/src/graphics/opengl/glutil.cpp
index b8aa712..ce99c51 100644
--- a/src/graphics/opengl/glutil.cpp
+++ b/src/graphics/opengl/glutil.cpp
@@ -125,8 +125,7 @@ bool AreExtensionsSupported(std::string list)
     if (version < 30)
     {
         const char* text = reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS));
-
-        stream = std::stringstream(text);
+        std::stringstream stream(text);
 
         while (!extensions.empty())
         {

-- 
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