This commit is contained in:
pavel 2026-05-29 23:31:03 +02:00
commit 6fdb938524
4 changed files with 260 additions and 125 deletions

View file

@ -148,7 +148,7 @@ main :: proc() {
primitive_type = .TRIANGLELIST,
rasterizer_state = sdl.GPURasterizerState{
fill_mode = .FILL,
cull_mode = .BACK,
cull_mode = .NONE,
front_face = .COUNTER_CLOCKWISE,
depth_bias_constant_factor = 0,
depth_bias_clamp = 0,
@ -192,8 +192,8 @@ main :: proc() {
pipeline_create_info := sdl.GPUGraphicsPipelineCreateInfo{
primitive_type = .TRIANGLELIST,
rasterizer_state = {
fill_mode = .LINE,
cull_mode = .FRONT,
fill_mode = .FILL,
cull_mode = .NONE,
}
}