mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- fix GR_SetOffscreenState not compiling without USE_PGXP
This commit is contained in:
parent
b9685438d9
commit
a0e8ad4d71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user