mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
vk: force render all calls before change viewport
This commit is contained in:
parent
131164748e
commit
ed3d760840
1 changed files with 3 additions and 0 deletions
|
@ -844,6 +844,9 @@ R_SetupVulkan (void)
|
|||
int x, x2, y2, y, w, h;
|
||||
float dist = (r_farsee->value == 0) ? 4096.0f : 8192.0f;
|
||||
|
||||
/* Render old elements before change viewport */
|
||||
QVk_Draw2DCallsRender();
|
||||
|
||||
//
|
||||
// set up viewport
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue