Skip to content

Commit

Permalink
[SGE] Fix for assertion failure when setting point size of vulkan bit…
Browse files Browse the repository at this point in the history
…map text string
  • Loading branch information
ravi688 committed Dec 31, 2024
1 parent f2919a8 commit ddb544d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/sge/vulkan/vulkan_bitmap_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@ static void text_string_build_cpu_side_buffers(vulkan_bitmap_text_t* text, vulka
static void text_string_rebuild_cpu_buffers_and_upload_to_gpu(vulkan_bitmap_text_t* text, vulkan_bitmap_text_string_t* text_string)
{
text_string_build_cpu_side_buffers(text, text_string, CAST_TO(const char*, buf_get_ptr(&text_string->chars)));
text_string_update_gpu_side_buffers(text, text_string);
if(text_string->is_active)
text_string_update_gpu_side_buffers(text, text_string);
}

static void text_string_set_point_size(vulkan_bitmap_text_t* text, vulkan_bitmap_text_string_t* text_string, u32 point_size)
Expand Down

0 comments on commit ddb544d

Please sign in to comment.