diff options
| author | marcosantos98 <marcomsantos98@gmail.com> | 2024-08-02 10:50:16 +0100 |
|---|---|---|
| committer | marcosantos98 <marcomsantos98@gmail.com> | 2024-08-02 10:50:16 +0100 |
| commit | 3bfccde6f9f8344d82def69f7a9c2745e486c433 (patch) | |
| tree | 72a526f7345e1ff88fa155fadc2e9b0fadac9f5f /vendor/wasm | |
| parent | 83599957b1bcc380160e1db6540e84fbaa876ab0 (diff) | |
Fix: remove extra `usage` in webgl.odin:250
Compilation error when using webgl.BufferSubDataSlice.
The `usage` parameter is nowhere to be found.
This is probably a copy-pasta leftover.
Diffstat (limited to 'vendor/wasm')
| -rw-r--r-- | vendor/wasm/WebGL/webgl.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/wasm/WebGL/webgl.odin b/vendor/wasm/WebGL/webgl.odin index 0ecfa8644..389e729de 100644 --- a/vendor/wasm/WebGL/webgl.odin +++ b/vendor/wasm/WebGL/webgl.odin @@ -247,7 +247,7 @@ BufferDataSlice :: proc "contextless" (target: Enum, slice: $S/[]$E, usage: Enum BufferData(target, len(slice)*size_of(E), raw_data(slice), usage) } BufferSubDataSlice :: proc "contextless" (target: Enum, offset: uintptr, slice: $S/[]$E) { - BufferSubData(target, offset, len(slice)*size_of(E), raw_data(slice), usage) + BufferSubData(target, offset, len(slice)*size_of(E), raw_data(slice)) } CompressedTexImage2DSlice :: proc "contextless" (target: Enum, level: i32, internalformat: Enum, width, height: i32, border: i32, slice: $S/[]$E) { |