|
|
|
@ -337,9 +337,6 @@ VkResult create_ui_descriptor_set(VkDevice device, VmaAllocator allocator, VkExt
|
|
|
|
|
glm_mat4_identity(ui_uniform.screen);
|
|
|
|
|
glm_translate(ui_uniform.screen, screen_offset);
|
|
|
|
|
glm_scale(ui_uniform.screen, screen_scale);
|
|
|
|
|
for(uint32_t i = 0; i < 4; i ++) {
|
|
|
|
|
fprintf(stderr, "%f %f %f %f\n", ui_uniform.screen[0][i], ui_uniform.screen[1][i], ui_uniform.screen[2][i], ui_uniform.screen[3][i]);
|
|
|
|
|
}
|
|
|
|
|
memcpy(mapped, &ui_uniform, sizeof(ui_uniform));
|
|
|
|
|
vmaUnmapMemory(allocator, *ui_descriptor_memory);
|
|
|
|
|
|
|
|
|
|