projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960aa95
)
mesa: add some braces in _mesa_make_current()
author
Brian Paul
<brianp@vmware.com>
Thu, 6 Jul 2017 17:59:55 +0000
(11:59 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 7 Jul 2017 18:04:34 +0000
(12:04 -0600)
Slightly better readability.
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 3057a92ecac827815adc7897758ce3e800505705..fe527a0ae29ba42ac479dac33756b834c68dccc0 100644
(file)
--- 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 */