From db954c903162faacd6e75037cf2c901fc7136b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= <branimirkaradzic@gmail.com> Date: Sun, 7 Sep 2014 23:21:17 -0700 Subject: [PATCH] Fixed GCC warning. --- src/glcontext_wgl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glcontext_wgl.cpp b/src/glcontext_wgl.cpp index ab28b788..8ca05aac 100644 --- a/src/glcontext_wgl.cpp +++ b/src/glcontext_wgl.cpp @@ -297,7 +297,7 @@ namespace bgfx SwapChainGL* swapChain = BX_NEW(g_allocator, SwapChainGL)(_nwh); int result = SetPixelFormat(swapChain->m_hdc, m_pixelFormat, &m_pfd); - BX_WARN(result, "SetPixelFormat failed (last err: 0x%08x)!", GetLastError() ); + BX_WARN(result, "SetPixelFormat failed (last err: 0x%08x)!", GetLastError() ); BX_UNUSED(result); swapChain->m_context = wglCreateContextAttribsARB(swapChain->m_hdc, m_context, m_contextAttrs); BX_CHECK(NULL != swapChain->m_context, "Create swap chain failed: %x", glGetError() );