mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
fix(daynight): fix compilation issues
This commit is contained in:
parent
add79bdc94
commit
a886fe7d63
4 changed files with 33 additions and 12 deletions
|
|
@ -2165,7 +2165,7 @@ void CGxDeviceD3d::SceneClear(uint32_t mask, CImVector color) {
|
|||
this->IXformSetViewport();
|
||||
}
|
||||
|
||||
D3DCOLOR d3dColor = color.b | (color.g | (color.r << 8) << 8);
|
||||
D3DCOLOR d3dColor = D3DCOLOR_RGBA(color.r, color.g, color.b, color.a);
|
||||
|
||||
this->m_d3dDevice->Clear(0, nullptr, flags, d3dColor, 1.0f, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue