Skip to content

Commit 3dfc9cc

Browse files
Fixed linux build errors
1 parent 5cf012c commit 3dfc9cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Graphics/GraphicsEngineOpenGL/src/GLContextLinux.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace Diligent
9292
auto CurrentCtx = glXGetCurrentContext();
9393
if (CurrentCtx == 0)
9494
{
95-
LOG_ERROR_AND_THROW("No current GL context found!")
95+
LOG_ERROR_AND_THROW("No current GL context found!");
9696
}
9797

9898
// Initialize GLEW
@@ -135,7 +135,7 @@ namespace Diligent
135135
//Or better yet, use the GL3 way to get the version number
136136
glGetIntegerv( GL_MAJOR_VERSION, &MajorVersion );
137137
glGetIntegerv( GL_MINOR_VERSION, &MinorVersion );
138-
LOG_INFO_MESSAGE(Info.pNativeWndHandle != nullptr ? "Initialized OpenGL " : "Attached to OpenGL ", MajorVersion, '.', MinorVersion, " context (", GLVersionString, ", ", GLRenderer, ')')
138+
LOG_INFO_MESSAGE(Info.pNativeWndHandle != nullptr ? "Initialized OpenGL " : "Attached to OpenGL ", MajorVersion, '.', MinorVersion, " context (", GLVersionString, ", ", GLRenderer, ')');
139139

140140
// Under the standard filtering rules for cubemaps, filtering does not work across faces of the cubemap.
141141
// 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
180180
}
181181
else
182182
{
183-
LOG_ERROR("Swap buffer failed because window and/or display handle is not initialized")
183+
LOG_ERROR("Swap buffer failed because window and/or display handle is not initialized");
184184
}
185185
}
186186

0 commit comments

Comments
 (0)