Resolve pipeline validator crash on debug
This commit is contained in:
parent
fe42f2665c
commit
aa28465147
2 changed files with 37 additions and 32 deletions
|
|
@ -18,6 +18,8 @@ import "core:math/rand"
|
|||
import stbi "vendor:stb/image"
|
||||
|
||||
import sa "sokol/app"
|
||||
import sg "sokol/app"
|
||||
import sl "sokol/log"
|
||||
import sh "sokol/helpers"
|
||||
|
||||
import "ecs"
|
||||
|
|
@ -54,7 +56,9 @@ main :: proc() {
|
|||
window_title = program_config.WINDOW_TITLE,
|
||||
|
||||
allocator = sa.Allocator(sh.allocator(&default_context)),
|
||||
logger = sa.Logger(sh.logger(&default_context)),
|
||||
logger = sg.Logger( { func = sl.func } ),
|
||||
|
||||
sample_count = 4,
|
||||
|
||||
init_cb = init_cb,
|
||||
frame_cb = frame_cb,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue