Start working on hot-reload functionality

This commit is contained in:
Riyyi
2026-09-06 16:37:49 +02:00
parent d353a43090
commit aea791fe2b
6 changed files with 92 additions and 17 deletions
-4
View File
@@ -27,8 +27,6 @@ state: struct {
instance_init :: proc() {
state.ctx = context
os_init()
state.instance = wgpu.CreateInstance(nil)
if state.instance == nil {
panic("WebGPU is not supported")
@@ -130,8 +128,6 @@ instance_init :: proc() {
multisample = {count = 1, mask = 0xFFFFFFFF},
},
)
os_run()
}
}