vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: 75749fdbd8cf925b803f0b1452d8c098fd09f87e
Parent: 73e7573e49b63dbf70c55427fa3dfb5df6102554
Author: Randy Palamar
Date:   Wed, 30 Oct 2024 06:20:36 -0600

actually set the glDebugMessageCallback user data

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -148,7 +148,7 @@ init_window(Term *t, Arena arena, iv2 window_size) glfwSwapInterval(1); /* NOTE: Set up OpenGL Render Pipeline */ - glDebugMessageCallback(gl_debug_logger, NULL); + glDebugMessageCallback(gl_debug_logger, &t->error_stream); glEnable(GL_DEBUG_OUTPUT); /* NOTE: shut up useless shader compilation statistics */ glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE,