Add WebGL runtime into the js/runtime.mjs; Allow for multiple WebGL contexts
This commit is contained in:
1 parent
223897d224
commit
55556aea77
4 files changed
+1066
-1052
No files matched your search
Vendored
-1034
File diff suppressed because it is too large.
Load diff
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