vk: force render all calls before change viewport

This commit is contained in:
Denis Pauk 2024-08-25 23:29:00 +03:00
parent 131164748e
commit ed3d760840

View file

@ -844,6 +844,9 @@ R_SetupVulkan (void)
int x, x2, y2, y, w, h; int x, x2, y2, y, w, h;
float dist = (r_farsee->value == 0) ? 4096.0f : 8192.0f; float dist = (r_farsee->value == 0) ? 4096.0f : 8192.0f;
/* Render old elements before change viewport */
QVk_Draw2DCallsRender();
// //
// set up viewport // set up viewport
// //