mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
pc radar fix
This commit is contained in:
parent
03cf1e7535
commit
2c1c5debca
@ -679,7 +679,7 @@ void CRadar::DrawRadarMask()
|
||||
CVector2D(-1.0, -1.0f)
|
||||
};
|
||||
|
||||
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)FALSE);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)nil);
|
||||
RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)FALSE);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR);
|
||||
RwRenderStateSet(rwRENDERSTATESHADEMODE, (void*)rwSHADEMODEFLAT);
|
||||
|
@ -277,7 +277,11 @@ CSprite2d::SetMaskVertices(int n, float *positions)
|
||||
RwIm2DVertexSetScreenZ(&maVertices[i], NearScreenZ);
|
||||
RwIm2DVertexSetCameraZ(&maVertices[i], NearCamZ);
|
||||
RwIm2DVertexSetRecipCameraZ(&maVertices[i], RecipNearClip);
|
||||
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 New Issue
Block a user