diff options
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) |
