summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-06-26 22:26:16 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-06-26 22:26:16 +0100
commitc51bdce9ad1487735411461c7116913030e4580e (patch)
treeb7d9b5aff94f16fc7be2d6365ce52bfbcf47331f
parent0a4dc6bd55b20cfe9cba788c38f2fb3acedddcdd (diff)
more formatting fixes
-rw-r--r--src/dri2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dri2.c b/src/dri2.c
index eec8069..7fd9fca 100644
--- a/src/dri2.c
+++ b/src/dri2.c
@@ -76,7 +76,8 @@ driEndClipNotify(ScreenPtr pScreen)
driUnlock(pScreen);
}
-struct __DRILock {
+struct __DRILock
+{
unsigned int block_header;
drm_hw_lock_t lock;
unsigned int next_id;
@@ -99,13 +100,13 @@ driScreenInit(ScreenPtr pScreen)
dri2info.version = 1;
dri2info.fd = ms->fd;
dri2info.driverSareaSize = sizeof(struct __DRILock);
- dri2info.driverName = "i915"; /* FIXME */
+ dri2info.driverName = "i915"; /* FIXME */
dri2info.getPixmapHandle = driGetPixmapHandle;
dri2info.beginClipNotify = driBeginClipNotify;
- dri2info.endClipNotify = driEndClipNotify;
+ dri2info.endClipNotify = driEndClipNotify;
p = DRI2ScreenInit(pScreen, &dri2info);
- if (!p)
+ if (!p)
return;
DRILock = p;