[colobot] 283/377: Corrected compilation problem (GL_MAX_FRAMEBUFFER_SAMPLES)
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:34:27 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 0154af39aa601df6cf090faf7db4ae4fbac48608
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date: Mon Feb 15 20:59:09 2016 +0100
Corrected compilation problem (GL_MAX_FRAMEBUFFER_SAMPLES)
---
src/graphics/opengl/glutil.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/graphics/opengl/glutil.cpp b/src/graphics/opengl/glutil.cpp
index b52b328..cd80134 100644
--- a/src/graphics/opengl/glutil.cpp
+++ b/src/graphics/opengl/glutil.cpp
@@ -182,7 +182,7 @@ std::string GetHardwareInfo(bool full)
result << "Multisampling:\t\tsupported\n";
- glGetIntegerv(GL_MAX_FRAMEBUFFER_SAMPLES, &value);
+ glGetIntegerv(GL_MAX_SAMPLES, &value);
result << " Max Framebuffer Samples:\t" << value << '\n';
}
else if (framebuffer == FBS_EXT)
--
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