From a0e8ad4d716657a89db97917f3f11042dd0c8094 Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Sat, 17 Jul 2021 22:40:12 +0600 Subject: [PATCH] - fix GR_SetOffscreenState not compiling without USE_PGXP --- src_rebuild/PsyCross/src/render/PsyX_render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_rebuild/PsyCross/src/render/PsyX_render.cpp b/src_rebuild/PsyCross/src/render/PsyX_render.cpp index 99d4b885..1d8119ee 100644 --- a/src_rebuild/PsyCross/src/render/PsyX_render.cpp +++ b/src_rebuild/PsyCross/src/render/PsyX_render.cpp @@ -1497,7 +1497,7 @@ void GR_SetOffscreenState(const RECT16* offscreenRect, int enable) #ifdef USE_PGXP GR_Ortho2D(-0.5f, 0.5f, 0.5f, -0.5f, -1.0f, 1.0f); #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 } else