mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 05:18:25 +02:00
more formatting fixes
This commit is contained in:
parent
2a45c28712
commit
2b3a3bc920
1 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue