mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
32-bit color support
This commit is contained in:
@@ -839,6 +839,9 @@ namespace PortabilityLayer
|
||||
if (int errorCode = m_surface.Init(adjustedBounds, pixelFormat))
|
||||
return false;
|
||||
|
||||
PortabilityLayer::ResolveCachingColor whiteColor = StdColors::White();
|
||||
m_surface.FillRect(adjustedBounds, whiteColor);
|
||||
|
||||
m_title.Set(windowDef.m_title[0], reinterpret_cast<const char*>(windowDef.m_title + 1));
|
||||
|
||||
// Resolve chrome
|
||||
|
Reference in New Issue
Block a user