mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-18 15:54:21 +01:00
fixed viewport offset
This commit is contained in:
parent
8b200c2b2f
commit
14807a8168
@ -59,8 +59,8 @@ static uint32_t drawCommon(VkCommandBuffer commandBuffer, int32_t vertexOffset)
|
||||
//Clip Window
|
||||
clFit(commandBuffer, &commandBuffer->binCl, V3D21_CLIP_WINDOW_length);
|
||||
clInsertClipWindow(&commandBuffer->binCl,
|
||||
vp.width - vp.x,
|
||||
vp.height - vp.y,
|
||||
vp.width,
|
||||
vp.height,
|
||||
vp.y, //bottom pixel coord
|
||||
vp.x); //left pixel coord
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user