add clear color for built in draw image
This commit is contained in:
parent
e5f47772a5
commit
abc39f3f86
6
vulkan.d
6
vulkan.d
@ -1968,6 +1968,12 @@ CreateComputePipeline(Vulkan* vk, CompPipelineInfo* comp_info)
|
|||||||
return pipeline_handle;
|
return pipeline_handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ClearColor(Vulkan* vk, f32[4] color)
|
||||||
|
{
|
||||||
|
ClearColor(vk, &vk.draw_image, color);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ClearColor(Vulkan* vk, ImageView* view, f32[4] color)
|
ClearColor(Vulkan* vk, ImageView* view, f32[4] color)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user