summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-06 15:24:55 -0400
committerpommicket <pommicket@gmail.com>2023-08-06 15:24:55 -0400
commit823815101f55ca0ce67f36867b93934ccdba1953 (patch)
tree2766bf1cf860245445e52aa4626b0005fb701e4d /main.c
parent52da64686fb506372fa09ab562915f895cd88cb9 (diff)
silence weird opengl warning
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/main.c b/main.c
index bc8f7be..3f66d5a 100644
--- a/main.c
+++ b/main.c
@@ -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