diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-02-03 12:24:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 12:24:10 +0000 |
| commit | 60b324d4ed035281a6eabbe22ff180d8e4a72849 (patch) | |
| tree | e87aa2061022453556a8790baf1e3663f2d9ee57 | |
| parent | cec08114fdd9812819c10c66cd10f0a9d63866b2 (diff) | |
| parent | 89a2fdd106f778d896de32ac1df021528ccf7a38 (diff) | |
Merge pull request #3166 from mothfuzz/patch-2
Change ClearMask to ColorMask in webgl.odin
| -rw-r--r-- | vendor/wasm/WebGL/webgl.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/wasm/WebGL/webgl.odin b/vendor/wasm/WebGL/webgl.odin index 05bf34344..0ecfa8644 100644 --- a/vendor/wasm/WebGL/webgl.odin +++ b/vendor/wasm/WebGL/webgl.odin @@ -64,7 +64,7 @@ foreign webgl { ClearColor :: proc(r, g, b, a: f32) --- ClearDepth :: proc(x: Enum) --- ClearStencil :: proc(x: Enum) --- - ClearMask :: proc(r, g, b, a: bool) --- + ColorMask :: proc(r, g, b, a: bool) --- CompileShader :: proc(shader: Shader) --- CompressedTexImage2D :: proc(target: Enum, level: i32, internalformat: Enum, width, height: i32, border: i32, imageSize: int, data: rawptr) --- @@ -266,4 +266,4 @@ TexImage2DSlice :: proc "contextless" (target: Enum, level: i32, internalformat: } TexSubImage2DSlice :: proc "contextless" (target: Enum, level: i32, xoffset, yoffset, width, height: i32, format, type: Enum, slice: $S/[]$E) { TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, len(slice)*size_of(E), raw_data(slice)) -}
\ No newline at end of file +} |