Updated submodules (#1444)

* Update submodules
 - Ghoul
   - assimp (5.0.0 -> 5.0.1)
   - catch2 (2.11.1 -> 2.13.3)
   - fmt (7.0.3 -> 7.1.3)
   - freetype2 (2.10.1 -> 2.10.4)
   - glbinding (3.1 -> 3.2)
   - glm (0.9.9.5 -> 0.9.9.8)
   - websocketpp (0.7.x -> 0.8.2)
 - SGCT
   - fmt (7.0.3 -> 7.1.3)
   - freetype (2.9.1 -> 2.10.4)
   - GLM (0.9.9.6 -> 0.9.9.8)
* Update to new include external definition
* Remove warning about no eof newline
This commit is contained in:
Alexander Bock
2020-12-29 13:44:57 +01:00
committed by GitHub
parent ad8af3ffeb
commit 7bf7a25401
6 changed files with 9 additions and 6 deletions

View File

@@ -385,7 +385,11 @@ void FramebufferRenderer::initialize() {
glDisablei(GL_BLEND, 1);
glDisablei(GL_BLEND, 2);
glClampColor(GL_CLAMP_READ_COLOR, GL_FALSE);
// glClampColor is weird as it requires a GLenum in the function definition, but
// the OpenGL standard says that it only accepts GL_FALSE and GL_TRUE, which are
// of type GLboolean *eye rolling*
// GLenum(0) == GLboolen(0) == GL_FALSE
glClampColor(GL_CLAMP_READ_COLOR, GLenum(0));
glEnable(GL_DEPTH_TEST);