From f02242a4fa0db20c5e02ecf0d4d5a6bdf42ccc83 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Sep 2012 12:16:49 -0700 Subject: [PATCH] glx: Fix some indentation. Reviewed-by: Chad Versace --- src/glx/dri2_glx.c | 10 +++++----- 1 file 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); -- 2.30.2