- fix GR_SetOffscreenState not compiling without USE_PGXP

This commit is contained in:
Ilya Shurumov 2021-07-17 22:40:12 +06:00 committed by InspirationByte
parent b9685438d9
commit a0e8ad4d71

View File

@ -1497,7 +1497,7 @@ void GR_SetOffscreenState(const RECT16* offscreenRect, int enable)
#ifdef USE_PGXP #ifdef USE_PGXP
GR_Ortho2D(-0.5f, 0.5f, 0.5f, -0.5f, -1.0f, 1.0f); GR_Ortho2D(-0.5f, 0.5f, 0.5f, -0.5f, -1.0f, 1.0f);
#else #else
GR_Ortho2D(0, offscreenRect.w, offscreenRect.h, 0, -1.0f, 1.0f); GR_Ortho2D(0, offscreenRect->w, offscreenRect->h, 0, -1.0f, 1.0f);
#endif #endif
} }
else else