We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e0e048 commit 074f745Copy full SHA for 074f745
extensions/pl_starter_ext.c
@@ -363,8 +363,8 @@ pl_starter_resize(void)
363
if(gptStarterCtx->tFlags & PL_STARTER_FLAGS_DEPTH_BUFFER)
364
{
365
plVec3 tNewDimensions = {
366
- gptIOI->get_io()->tMainViewportSize.x * ptIO->tMainFramebufferScale.x,
367
- gptIOI->get_io()->tMainViewportSize.y * ptIO->tMainFramebufferScale.y,
+ (float)tInfo.uWidth * ptIO->tMainFramebufferScale.x,
+ (float)tInfo.uHeight * ptIO->tMainFramebufferScale.y,
368
1};
369
370
plTexture* ptTexture = gptGfx->get_texture(gptStarterCtx->ptDevice, gptStarterCtx->tDepthTexture);
0 commit comments