summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-28 05:52:17 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-28 05:52:17 +0000
commit3dfc9cc9e46357efd97b1894038c6331cb6caf0e (patch)
tree42dad0bbcc9233d1c47cd0ad6f8187ea884c71df /Graphics/GraphicsEngineOpenGL
parentReworked Common and Platform modules to break interdependenices; (diff)
downloadDiligentCore-3dfc9cc9e46357efd97b1894038c6331cb6caf0e.tar.gz
DiligentCore-3dfc9cc9e46357efd97b1894038c6331cb6caf0e.zip
Fixed linux build errors
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp6
1 files changed, 3 insertions, 3 deletions
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");
}
}