From 3dfc9cc9e46357efd97b1894038c6331cb6caf0e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 27 Dec 2017 21:52:17 -0800 Subject: Fixed linux build errors --- Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp index 144804cb..c66abff5 100644 --- a/Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp @@ -92,7 +92,7 @@ namespace Diligent auto CurrentCtx = glXGetCurrentContext(); if (CurrentCtx == 0) { - LOG_ERROR_AND_THROW("No current GL context found!") + LOG_ERROR_AND_THROW("No current GL context found!"); } // Initialize GLEW @@ -135,7 +135,7 @@ namespace Diligent //Or better yet, use the GL3 way to get the version number glGetIntegerv( GL_MAJOR_VERSION, &MajorVersion ); glGetIntegerv( GL_MINOR_VERSION, &MinorVersion ); - LOG_INFO_MESSAGE(Info.pNativeWndHandle != nullptr ? "Initialized OpenGL " : "Attached to OpenGL ", MajorVersion, '.', MinorVersion, " context (", GLVersionString, ", ", GLRenderer, ')') + LOG_INFO_MESSAGE(Info.pNativeWndHandle != nullptr ? "Initialized OpenGL " : "Attached to OpenGL ", MajorVersion, '.', MinorVersion, " context (", GLVersionString, ", ", GLRenderer, ')'); // Under the standard filtering rules for cubemaps, filtering does not work across faces of the cubemap. // This results in a seam across the faces of a cubemap. This was a hardware limitation in the past, but @@ -180,7 +180,7 @@ namespace Diligent } else { - LOG_ERROR("Swap buffer failed because window and/or display handle is not initialized") + LOG_ERROR("Swap buffer failed because window and/or display handle is not initialized"); } } -- cgit v1.2.3