mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-01-10 17:09:35 +01:00
fix a struct init
This commit is contained in:
parent
075650b9f3
commit
c5010d443c
@ -133,7 +133,11 @@ EnvMapRender(void)
|
||||
EnvMapCam->getFrame()->matrix.pos = camPos;
|
||||
EnvMapCam->getFrame()->transform(&EnvMapCam->getFrame()->matrix, rw::COMBINEREPLACE);
|
||||
|
||||
rw::RGBA skycol = { CTimeCycle::GetSkyBottomRed(), CTimeCycle::GetSkyBottomGreen(), CTimeCycle::GetSkyBottomBlue(), 255 };
|
||||
rw::RGBA skycol;
|
||||
skycol.red = CTimeCycle::GetSkyBottomRed();
|
||||
skycol.green = CTimeCycle::GetSkyBottomGreen();
|
||||
skycol.blue = CTimeCycle::GetSkyBottomBlue();
|
||||
skycol.alpha = 255;
|
||||
EnvMapCam->clear(&skycol, rwCAMERACLEARZ|rwCAMERACLEARIMAGE);
|
||||
RwCameraBeginUpdate(EnvMapCam);
|
||||
bRenderingEnvMap = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user