mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 06:35:00 -07:00
Merge pull request #4007 from marcosantos98/fix-wasm
Fix: compilation error when using BufferSubDataSlice in webgl package
This commit is contained in:
Vendored
+1
-1
@@ -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