From ae870b9e6bf9faaf45a1470e64dacaa20084d3fa Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Sat, 28 Feb 2026 20:57:58 -0500 Subject: Use odin's new handle maps in physics too --- src/fw/opengl.odin | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/fw') diff --git a/src/fw/opengl.odin b/src/fw/opengl.odin index 1cac88f..2688de0 100644 --- a/src/fw/opengl.odin +++ b/src/fw/opengl.odin @@ -31,26 +31,6 @@ projection_loc: i32 view_loc: i32 tex0_loc: i32 -// @(private) -// _gl_debug_message :: proc "c" ( -// source: u32, -// type: u32, -// id: u32, -// severity: u32, -// length: i32, -// message: cstring, -// userParam: rawptr, -// ) { -// context = runtime.default_context() -// switch severity { -// case gl.DEBUG_SEVERITY_HIGH: fmt.print("[HIGH]") -// case gl.DEBUG_SEVERITY_MEDIUM: fmt.print("[MEDIUM]") -// case gl.DEBUG_SEVERITY_LOW: fmt.print("[LOW]") -// case gl.DEBUG_SEVERITY_NOTIFICATION: fmt.print("[NOTIF]") -// } -// fmt.printfln(" OpenGL %v: %v", id, message) -// } - @(private) _init_vertex_buffer_and_array :: proc(vao: u32, vbo: u32, ebo: u32) { gl.BindVertexArray(vao) -- cgit v1.3-2-g0d8e