mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 00:10:01 +00:00
pc radar fix
This commit is contained in:
parent
7687ce84ed
commit
bb66028e74
|
@ -778,7 +778,7 @@ void CRadar::DrawRadarMask()
|
||||||
CVector2D(-1.0, -1.0f)
|
CVector2D(-1.0, -1.0f)
|
||||||
};
|
};
|
||||||
|
|
||||||
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)FALSE);
|
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)nil);
|
||||||
RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)FALSE);
|
RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)FALSE);
|
||||||
RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR);
|
RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR);
|
||||||
RwRenderStateSet(rwRENDERSTATESHADEMODE, (void*)rwSHADEMODEFLAT);
|
RwRenderStateSet(rwRENDERSTATESHADEMODE, (void*)rwSHADEMODEFLAT);
|
||||||
|
|
|
@ -358,7 +358,11 @@ CSprite2d::SetMaskVertices(int n, float *positions)
|
||||||
RwIm2DVertexSetScreenZ(&maVertices[i], screenz);
|
RwIm2DVertexSetScreenZ(&maVertices[i], screenz);
|
||||||
RwIm2DVertexSetCameraZ(&maVertices[i], z);
|
RwIm2DVertexSetCameraZ(&maVertices[i], z);
|
||||||
RwIm2DVertexSetRecipCameraZ(&maVertices[i], recipz);
|
RwIm2DVertexSetRecipCameraZ(&maVertices[i], recipz);
|
||||||
RwIm2DVertexSetIntRGBA(&maVertices[i], 255, 255, 255, 255); // 0, 0, 0, 0 on PC
|
#if !defined(GTA_PS2_STUFF) && defined(RWLIBS)
|
||||||
|
RwIm2DVertexSetIntRGBA(&maVertices[i], 0, 0, 0, 0);
|
||||||
|
#else
|
||||||
|
RwIm2DVertexSetIntRGBA(&maVertices[i], 255, 255, 255, 255);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue