--- a/src/2d.c Tue Jul 22 21:38:02 2025 +0200 +++ b/src/2d.c Wed Jul 23 00:27:46 2025 +0200 @@ -88,7 +88,9 @@ } asc_shader_free_codes(codes); - asc_error_catch_all_gl(); + if (asc_error_catch_gl("Creating rectangle shader")) { + // TODO: error handling + } return shader; } @@ -258,7 +260,9 @@ } asc_shader_free_codes(codes); - asc_error_catch_all_gl(); + if (asc_error_catch_gl("Creating ellipsis shader")) { + // TODO: error handling + } return shader; }