jmorton06 / Lumos

Cross-Platform C++ 2D/3D game engine
MIT License
1.26k stars 138 forks source link

Windows platform,DWMWINDOWATTRIBUTE::DWMWA_CAPTION_COLOR is not defined #116

Open SZNero opened 1 year ago

SZNero commented 1 year ago

Describe the bug Build on Windows platform with Visual Studio, DWMWINDOWATTRIBUTE::DWMWA_CAPTION_COLOR is not defined.

image

12:06:41:347    13>E:\testProject\cmake\Lumos\Lumos\Source\Lumos\Platform\Windows\WindowsOS.cpp(116,76): error C2065: 'DWMWA_CAPTION_COLOR': undeclared identifier
12:06:41:347    13>E:\testProject\cmake\Lumos\Lumos\Source\Lumos\Platform\Windows\WindowsOS.cpp(117,57): error C2838: 'DWMWA_BORDER_COLOR': illegal qualified name in member declaration
12:06:41:347    13>E:\testProject\cmake\Lumos\Lumos\Source\Lumos\Platform\Windows\WindowsOS.cpp(117,75): error C2065: 'DWMWA_BORDER_COLOR': undeclared identifier
jmorton06 commented 1 year ago

Didn't realise its a windows 11 only value. Committed a fix