[colobot] 239/377: Corrected MSAA support detection

Didier Raboud odyx at moszumanska.debian.org
Wed Mar 30 13:34:21 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 05e19f47c38af7af00d5dd0569c184fa29b6557f
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date:   Fri Jan 29 12:02:36 2016 +0100

    Corrected MSAA support detection
---
 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 ee821dd..f0c7e13 100644
--- a/src/graphics/opengl/gldevice.cpp
+++ b/src/graphics/opengl/gldevice.cpp
@@ -238,7 +238,7 @@ bool CGLDevice::Create()
         }
 
         // Read maximum sample count for MSAA
-        if(glewIsSupported("GL_ARB_multisample"))
+        if(glewIsSupported("GL_ARB_multisample GL_EXT_framebuffer_multisample"))
         {
             glGetIntegerv(GL_MAX_SAMPLES_EXT, &m_maxSamples);
             GetLogger()->Info("Multisampling supported, max samples: %d\n", m_maxSamples);

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