diff options
| author | iamcheeseman <[hidden email]> | 2026-02-28 20:57:58 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-02-28 20:57:58 -0500 |
| commit | ae870b9e6bf9faaf45a1470e64dacaa20084d3fa (patch) | |
| tree | a3fa1ef776650db7ad2ea7aa30ad06de90c55c6a /src/fw | |
| parent | 97e7909e4d730524b3ea319fa86520ed3bb3df5c (diff) | |
Use odin's new handle maps in physics too
Diffstat (limited to 'src/fw')
| -rw-r--r-- | src/fw/opengl.odin | 20 |
1 files changed, 0 insertions, 20 deletions
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) |
