actually initialize the variable properly

This commit is contained in:
Matthew 2025-08-16 07:29:38 +10:00
parent 254a547579
commit 3a1943bfd6

View File

@ -390,11 +390,13 @@ struct QueueInfo
bool single_queue; bool single_queue;
} }
const u8[] CONVERT_SHADER = mixin(Embed(convert_shader)); u8[] CONVERT_SHADER;
Vulkan Vulkan
Init(PlatformHandles platform_handles, u64 permanent_mem, u64 frame_mem, string convert_shader) Init(PlatformHandles platform_handles, u64 permanent_mem, u64 frame_mem, string convert_shader)
{ {
CONVERT_SHADER = mixin(Embed(convert_shader));
bool success = true; bool success = true;
Vulkan vk = { Vulkan vk = {