include/Spectre/Display/DisplayDescription.h: change Empty to None
This commit is contained in:
parent
83f4d05df8
commit
7c23f5dfd9
3 changed files with 3 additions and 3 deletions
|
|
@ -114,7 +114,7 @@ void Display::setVideoMode(Mode mode)
|
|||
m_cacheDesc = m_description;
|
||||
}
|
||||
|
||||
desc.decoration = DisplayDecorate::Empty;
|
||||
desc.decoration = DisplayDecorate::None;
|
||||
} else {
|
||||
desc = m_cacheDesc;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ DWORD Win32Display::getWin32Flags(unsigned int flags)
|
|||
{
|
||||
DWORD win32_flags = WS_VISIBLE;
|
||||
|
||||
if (flags == DisplayDecorate::Empty) {
|
||||
if (flags == DisplayDecorate::None) {
|
||||
win32_flags |= WS_POPUP;
|
||||
} else {
|
||||
if (flags & DisplayDecorate::Menu) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue