mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add WebGL runtime into the js/runtime.mjs; Allow for multiple WebGL contexts
This commit is contained in:
Vendored
+1
@@ -15,6 +15,7 @@ Texture :: distinct u32
|
||||
|
||||
@(default_calling_convention="c")
|
||||
foreign webgl {
|
||||
SetCurrentContextById :: proc(name: string) -> bool ---
|
||||
DrawingBufferWidth :: proc() -> i32 ---
|
||||
DrawingBufferHeight :: proc() -> i32 ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user