From: Eric Anholt Date: Tue, 25 Sep 2012 19:16:49 +0000 (-0700) Subject: glx: Fix some indentation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f02242a4fa0db20c5e02ecf0d4d5a6bdf42ccc83;p=mesa.git glx: Fix some indentation. Reviewed-by: Chad Versace --- 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);