File tree Expand file tree Collapse file tree
09_depth_render_targets/sources
12_set_render_target_depth/sources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ static void update(void *data) {
8282 .texture .texture = framebuffer ,
8383 .texture .array_layer_count = 1 ,
8484 .texture .mip_level_count = 1 ,
85- .texture .format = KORE_GPU_TEXTURE_FORMAT_BGRA8_UNORM ,
85+ .texture .format = kore_gpu_device_framebuffer_format ( & device ) ,
8686 .texture .dimension = KORE_GPU_TEXTURE_VIEW_DIMENSION_2D ,
8787 },
8888 },
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ static void update(void *data) {
8686 .texture = framebuffer ,
8787 .array_layer_count = 1 ,
8888 .mip_level_count = 1 ,
89- .format = KORE_GPU_TEXTURE_FORMAT_BGRA8_UNORM ,
89+ .format = kore_gpu_device_framebuffer_format ( & device ) ,
9090 .dimension = KORE_GPU_TEXTURE_VIEW_DIMENSION_2D ,
9191 },
9292 },
You can’t perform that action at this time.
0 commit comments