We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e56594 commit a1b00c2Copy full SHA for a1b00c2
src/game/client/viewrender.cpp
@@ -5295,6 +5295,14 @@ void CFreezeFrameView::Draw( void )
5295
pRenderContext->PushVertexShaderGPRAllocation( 16 ); //max out pixel shader threads
5296
#endif
5297
5298
+#ifdef BDSBASE
5299
+ if (mat_viewportupscale.GetBool() && mat_viewportscale.GetFloat() < 1.0f)
5300
+ {
5301
+ // mat_viewportscale breaks it without that
5302
+ vgui::surface()->GetScreenSize(width, height);
5303
+ }
5304
+#endif
5305
+
5306
// we might only need half of the texture if we're rendering in stereo
5307
int nTexX0 = 0, nTexY0 = 0;
5308
int nTexX1 = width, nTexY1 = height;
0 commit comments