mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
fix some bugs with -disable-assert
This commit is contained in:
Vendored
+2
-1
@@ -22,5 +22,6 @@ wgpu_alloc :: proc "contextless" (size: i32) -> [^]byte {
|
||||
@(private="file", export)
|
||||
wgpu_free :: proc "contextless" (ptr: rawptr) {
|
||||
context = g_context
|
||||
assert(free(ptr) == nil, "wgpu_free failed")
|
||||
err := free(ptr)
|
||||
assert(err == nil, "wgpu_free failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user