mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-01 16:31:13 +00:00
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.
This commit is contained in:
2
vendor/wasm/WebGL/webgl.odin
vendored
2
vendor/wasm/WebGL/webgl.odin
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user