Skip to content

Commit 074f745

Browse files
committed
WIP
1 parent 6e0e048 commit 074f745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/pl_starter_ext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ pl_starter_resize(void)
363363
if(gptStarterCtx->tFlags & PL_STARTER_FLAGS_DEPTH_BUFFER)
364364
{
365365
plVec3 tNewDimensions = {
366-
gptIOI->get_io()->tMainViewportSize.x * ptIO->tMainFramebufferScale.x,
367-
gptIOI->get_io()->tMainViewportSize.y * ptIO->tMainFramebufferScale.y,
366+
(float)tInfo.uWidth * ptIO->tMainFramebufferScale.x,
367+
(float)tInfo.uHeight * ptIO->tMainFramebufferScale.y,
368368
1};
369369

370370
plTexture* ptTexture = gptGfx->get_texture(gptStarterCtx->ptDevice, gptStarterCtx->tDepthTexture);

0 commit comments

Comments
 (0)