[colobot] 353/390: Corrected assertion error when changing offscreen rendering
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:22:03 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 03244ecdfd6b444b88ea08d35175d96da33542ed
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date: Tue May 12 20:20:57 2015 +0200
Corrected assertion error when changing offscreen rendering
---
src/graphics/opengl/gldevice.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/graphics/opengl/gldevice.cpp b/src/graphics/opengl/gldevice.cpp
index 541bfd4..99dafa1 100644
--- a/src/graphics/opengl/gldevice.cpp
+++ b/src/graphics/opengl/gldevice.cpp
@@ -1787,6 +1787,8 @@ void CGLDevice::SetRenderState(RenderState state, bool enabled)
GLuint toBind = (enabled ? m_framebuffer : 0);
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, toBind);
+
+ return;
}
GLenum flag = 0;
--
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