glx: Fix some indentation.
authorEric Anholt <eric@anholt.net>
Tue, 25 Sep 2012 19:16:49 +0000 (12:16 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 9 Oct 2012 21:32:03 +0000 (14:32 -0700)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/glx/dri2_glx.c

index 9a7dd7a56e06d96d4cca23d8781418cf0c71623c..49a2179bbf025c4d7afb844c99f9749e8e4f9439 100644 (file)
@@ -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);