fixfixfix

This commit is contained in:
Fire-Head 2020-06-28 00:31:45 +03:00
parent 1c11a8081f
commit 233792e2b8
4 changed files with 711 additions and 716 deletions

File diff suppressed because it is too large Load Diff

View File

@ -193,12 +193,7 @@ public:
static float fMapCenterX;
#endif
#ifdef IMPROVED_VIDEOMODE
//int32 m_nPrefsWidth = 1280 ;//640;
//int32 m_nPrefsHeight = 960;//480;
//int32 m_nPrefsWidth = 1024;
//int32 m_nPrefsHeight = 768;
#ifdef IMPROVED_VIDEOMODE
int32 m_nPrefsWidth = 640;
int32 m_nPrefsHeight = 480;
int32 m_nPrefsDepth = 32;

File diff suppressed because it is too large Load Diff

View File

@ -20,14 +20,14 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
{
#ifdef GTA_PS2
RwRect rect = {0, 0, 0, 0};
if (pFrontBuffer)
return TRUE;
return TRUE;
BlurOn = true;
rect.w = RwRasterGetWidth(RwCameraGetRaster(cam));
rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
pFrontBuffer = RwRasterCreate(0, 0, 0, rwRASTERDONTALLOCATE|rwRASTERTYPECAMERATEXTURE);
if (!pFrontBuffer)