[Mesa-dev] [PATCH 16/19] glx: Fix some indentation.
Eric Anholt
eric at anholt.net
Tue Sep 25 19:50:14 PDT 2012
---
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 f9e9c79..a35223a 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -737,13 +737,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);
--
1.7.10.4
More information about the mesa-dev
mailing list