summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_glx.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-09-25 12:16:49 -0700
committerEric Anholt <[email protected]>2012-10-09 14:32:03 -0700
commitf02242a4fa0db20c5e02ecf0d4d5a6bdf42ccc83 (patch)
treea855d8d1940daff6f5db8216b97dbeab7971817e /src/glx/dri2_glx.c
parent811602885bb5fa56f04927c29b882675e7ff311c (diff)
glx: Fix some indentation.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glx/dri2_glx.c')
-rw-r--r--src/glx/dri2_glx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 9a7dd7a56e0..49a2179bbf0 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -738,13 +738,13 @@ dri2SwapBuffers(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor,
__DRI2_THROTTLE_SWAPBUFFER);
} else {
#ifdef X_DRI2SwapBuffers
- if (psc->f) {
- struct glx_context *gc = __glXGetCurrentContext();
+ if (psc->f) {
+ struct glx_context *gc = __glXGetCurrentContext();
- if (gc) {
- (*psc->f->flush)(priv->driDrawable);
+ if (gc) {
+ (*psc->f->flush)(priv->driDrawable);
+ }
}
- }
dri2Throttle(psc, priv, __DRI2_THROTTLE_SWAPBUFFER);