summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-07-06 11:59:55 -0600
committerBrian Paul <[email protected]>2017-07-07 12:04:34 -0600
commit1b3cbcc7beded588a53d7c67bf0e25db05bf8d1e (patch)
tree0dec4563f3a12c6e17c54151b41f09d119c3d27e /src/mesa/main
parent960aa95df6ff4ecf8d32adf2fc707528fa39a1a5 (diff)
mesa: add some braces in _mesa_make_current()
Slightly better readability.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 3057a92ecac..fe527a0ae29 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1663,8 +1663,9 @@ _mesa_make_current( struct gl_context *newCtx,
/* make sure this context is valid for flushing */
curCtx != newCtx &&
curCtx->Const.ContextReleaseBehavior ==
- GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH)
+ GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH) {
_mesa_flush(curCtx);
+ }
/* We used to call _glapi_check_multithread() here. Now do it in drivers */