Minor indentation clean up.
This commit is contained in:
parent
8f4fb24e2d
commit
52b4a55049
1 changed files with 7 additions and 5 deletions
|
@ -401,9 +401,10 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
|
||||||
|
|
||||||
if (_this->gl_config.double_buffer) {
|
if (_this->gl_config.double_buffer) {
|
||||||
attribs[i++] = GLX_DOUBLEBUFFER;
|
attribs[i++] = GLX_DOUBLEBUFFER;
|
||||||
if( for_FBConfig )
|
if( for_FBConfig ) {
|
||||||
attribs[i++] = True;
|
attribs[i++] = True;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
attribs[i++] = GLX_DEPTH_SIZE;
|
attribs[i++] = GLX_DEPTH_SIZE;
|
||||||
attribs[i++] = _this->gl_config.depth_size;
|
attribs[i++] = _this->gl_config.depth_size;
|
||||||
|
@ -435,9 +436,10 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
|
||||||
|
|
||||||
if (_this->gl_config.stereo) {
|
if (_this->gl_config.stereo) {
|
||||||
attribs[i++] = GLX_STEREO;
|
attribs[i++] = GLX_STEREO;
|
||||||
if( for_FBConfig )
|
if( for_FBConfig ) {
|
||||||
attribs[i++] = True;
|
attribs[i++] = True;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (_this->gl_config.multisamplebuffers) {
|
if (_this->gl_config.multisamplebuffers) {
|
||||||
attribs[i++] = GLX_SAMPLE_BUFFERS_ARB;
|
attribs[i++] = GLX_SAMPLE_BUFFERS_ARB;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue