source/Platform/Unix/GLXContext.cpp: Whitespace fix.
This commit is contained in:
parent
35a6b38d16
commit
1854c4cb51
1 changed files with 7 additions and 7 deletions
|
|
@ -103,11 +103,11 @@ bool GLXContext::createGLContext()
|
|||
};
|
||||
|
||||
GLint ctx_attr[] = {
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, 3,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
|
||||
GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB,
|
||||
None
|
||||
};
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, 3,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
|
||||
GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB,
|
||||
None
|
||||
};
|
||||
|
||||
// Ensure glx extensions are loaded.
|
||||
if (!ensureExtensionsLoaded(disp, DefaultScreen(disp))) {
|
||||
|
|
@ -121,7 +121,7 @@ bool GLXContext::createGLContext()
|
|||
}
|
||||
|
||||
// Setup GL settings.
|
||||
fbc = glXChooseFBConfig(disp, DefaultScreen(disp), (const int*) info->visual, &fbcount);
|
||||
fbc = glXChooseFBConfig(disp, DefaultScreen(disp), (const int*) info->visual, &fbcount);
|
||||
if (fbc == NULL) {
|
||||
Log::warn("GLX: Could not find FB Config.");
|
||||
return false;
|
||||
|
|
@ -134,7 +134,7 @@ bool GLXContext::createGLContext()
|
|||
return false;
|
||||
}
|
||||
|
||||
glXMakeCurrent(disp, m_win, m_ctx);
|
||||
glXMakeCurrent(disp, m_win, m_ctx);
|
||||
|
||||
// Load OpenGL
|
||||
if (!loadGL()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue