mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-30 22:15:27 +00:00
Messages and CameraSize fix
This commit is contained in:
parent
4d0f702df0
commit
92ae468e00
2 changed files with 13 additions and 26 deletions
|
@ -437,7 +437,7 @@ CameraSize(RwCamera * camera, RwRect * rect,
|
|||
RwRaster *zRaster;
|
||||
|
||||
// BUG: game just changes camera raster's sizes, but this is a hack
|
||||
#ifdef FIX_BUGS
|
||||
#if 0//def FIX_BUGS
|
||||
/*
|
||||
* Destroy rasters...
|
||||
*/
|
||||
|
@ -446,12 +446,14 @@ CameraSize(RwCamera * camera, RwRect * rect,
|
|||
if( raster )
|
||||
{
|
||||
RwRasterDestroy(raster);
|
||||
camera->frameBuffer = nil;
|
||||
}
|
||||
|
||||
zRaster = RwCameraGetZRaster(camera);
|
||||
if( zRaster )
|
||||
{
|
||||
RwRasterDestroy(zRaster);
|
||||
camera->zBuffer = nil;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -657,4 +659,4 @@ RestoreAlphaTest()
|
|||
RwD3D8SetRenderState(D3DRS_ALPHAREF, saved_alpharef);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue