mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Enum in legovideomanager.cpp (#1492)
This commit is contained in:
@@ -639,7 +639,7 @@ void LegoVideoManager::SetSkyColor(float p_red, float p_green, float p_blue)
|
||||
colorStrucure.peRed = (p_red * 255.0f);
|
||||
colorStrucure.peGreen = (p_green * 255.0f);
|
||||
colorStrucure.peBlue = (p_blue * 255.0f);
|
||||
colorStrucure.peFlags = -124;
|
||||
colorStrucure.peFlags = D3DPAL_RESERVED | PC_NOCOLLAPSE;
|
||||
m_videoParam.GetPalette()->SetSkyColor(&colorStrucure);
|
||||
m_videoParam.GetPalette()->SetOverrideSkyColor(TRUE);
|
||||
m_3dManager->GetLego3DView()->GetView()->SetBackgroundColor(p_red, p_green, p_blue);
|
||||
|
Reference in New Issue
Block a user