contextless fixes for js

This commit is contained in:
gingerBill
2025-08-08 13:29:49 +01:00
parent 7c93a5ae80
commit 804984ed35
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import "base:runtime"
g_context: runtime.Context
@(private="file", init)
wgpu_init_allocator :: proc() {
wgpu_init_allocator :: proc "contextless" () {
if g_context.allocator.procedure == nil {
g_context = runtime.default_context()
}