diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 15:24:55 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 15:24:55 -0400 |
commit | 823815101f55ca0ce67f36867b93934ccdba1953 (patch) | |
tree | 2766bf1cf860245445e52aa4626b0005fb701e4d /main.c | |
parent | 52da64686fb506372fa09ab562915f895cd88cb9 (diff) |
silence weird opengl warning
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1,6 +1,4 @@ /* -TODO: - - remove rect_translate? FUTURE FEATURES: - autodetect indentation (tabs vs spaces) - robust find (results shouldn't move around when you type things) @@ -100,11 +98,6 @@ 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 |