include/Spectre/System/Log.h: implement a static "Log" class instead of just a function.
This commit is contained in:
parent
e10daeaaa6
commit
3b27db9435
8 changed files with 101 additions and 31 deletions
|
|
@ -53,7 +53,7 @@ bool Win32Display::create(DisplayDescription description)
|
|||
NULL, NULL, GetModuleHandle(NULL), (LPVOID) this);
|
||||
|
||||
if (!m_handle) {
|
||||
log("Win32 - Could not create window: %s", Win32GetMessage(GetLastError()));
|
||||
Log::error("Win32 - Could not create window: %s", Win32GetMessage(GetLastError()));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue