source/Platform/Win32/Win32GLContext.cpp: minor fixes to log strings.
This commit is contained in:
parent
a39069cdb9
commit
9835082b67
1 changed files with 4 additions and 4 deletions
|
|
@ -25,11 +25,11 @@ static void ensureExtensionsLoaded(HDC dc)
|
|||
init = true;
|
||||
|
||||
if (!gladLoadWGL(dc, func_loader)) {
|
||||
Log::error("Win32: Could not load WGL extensions");
|
||||
Log::error("WGL: Could not load WGL extensions");
|
||||
}
|
||||
|
||||
if (!gladLoaderLoadGL()) {
|
||||
Log::error("Win32: Could not load OpenGL extensions\n");
|
||||
Log::error("WGL: Could not load OpenGL extensions");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -55,7 +55,7 @@ bool Win32GLContext::create(const PlatformDisplay* display)
|
|||
|
||||
// Should have a valid handle here. trigger error.
|
||||
if (!m_wnd) {
|
||||
Log::warn("Win32 - Could not create GL context: Invalid display handle\n");
|
||||
Log::warn("WGL: Could not create GL context: Invalid display handle");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ bool Win32GLContext::create(const PlatformDisplay* display)
|
|||
// Make sure we release all handles.
|
||||
destroy();
|
||||
|
||||
Log::warn("Win32 - Could not create GL context: %s", Win32GetMessage(GetLastError()));
|
||||
Log::warn("WGL: Could not create GL context: %s", Win32GetMessage(GetLastError()));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue