diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 09:56:41 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 09:56:41 -0400 |
commit | bf67a6e3a5a13c805061ee9dbf9241e63c2adff6 (patch) | |
tree | 34e1b0ab5c633a9410d4395d3f60cac6c5c06e8c /main.c | |
parent | fe45ee7e366565d94d71facb3e04cd3d4a870758 (diff) |
shut up opengl
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -106,6 +106,11 @@ static void APIENTRY gl_message_callback(GLenum source, GLenum type, unsigned in GLsizei length, const char *message, const void *userParam) { (void)source; (void)type; (void)id; (void)length; (void)userParam; if (severity == GL_DEBUG_SEVERITY_NOTIFICATION) return; + if (strstr(message, "The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping")) { + // shut the fuck up + // why are you telling me this? + return; + } debug_println("Message from OpenGL: %s.", message); } #endif |