From 9835082b67bcb09c1213e2a44a3be93573685f27 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 22 Dec 2019 22:04:29 +0100 Subject: [PATCH] source/Platform/Win32/Win32GLContext.cpp: minor fixes to log strings. --- source/Platform/Win32/Win32GLContext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Platform/Win32/Win32GLContext.cpp b/source/Platform/Win32/Win32GLContext.cpp index 704c85b..668f962 100644 --- a/source/Platform/Win32/Win32GLContext.cpp +++ b/source/Platform/Win32/Win32GLContext.cpp @@ -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;