diff options
author | aarzilli <alessandro.arzilli@gmail.com> | 2017-01-18 10:52:16 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-09-08 16:49:27 +0200 |
commit | 3906399e7c2a40fbaf355de572cf50a314083f64 (patch) | |
tree | fcdcca7da60cc3c7c7e87faa5dcc4898d1671514 /nexgb/xf86dri/xf86dri.go | |
parent | 1c01d79ba14a802c603ca2e5bbd35156e3363b85 (diff) | |
download | haven-3906399e7c2a40fbaf355de572cf50a314083f64.tar.gz haven-3906399e7c2a40fbaf355de572cf50a314083f64.tar.xz haven-3906399e7c2a40fbaf355de572cf50a314083f64.zip |
Regenerated from xcb-proto 1.12
Diffstat (limited to 'nexgb/xf86dri/xf86dri.go')
-rw-r--r-- | nexgb/xf86dri/xf86dri.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nexgb/xf86dri/xf86dri.go b/nexgb/xf86dri/xf86dri.go index 51c9322..06f49a0 100644 --- a/nexgb/xf86dri/xf86dri.go +++ b/nexgb/xf86dri/xf86dri.go @@ -896,8 +896,7 @@ type GetDrawableInfoReply struct { BackY int16 NumBackClipRects uint32 ClipRects []DrmClipRect // size: xgb.Pad((int(NumClipRects) * 8)) - // alignment gap to multiple of 4 - BackClipRects []DrmClipRect // size: xgb.Pad((int(NumBackClipRects) * 8)) + BackClipRects []DrmClipRect // size: xgb.Pad((int(NumBackClipRects) * 8)) } // Reply blocks and returns the reply data for a GetDrawableInfo request. @@ -958,8 +957,6 @@ func getDrawableInfoReply(buf []byte) *GetDrawableInfoReply { v.ClipRects = make([]DrmClipRect, v.NumClipRects) b += DrmClipRectReadList(buf[b:], v.ClipRects) - b = (b + 3) & ^3 // alignment gap - v.BackClipRects = make([]DrmClipRect, v.NumBackClipRects) b += DrmClipRectReadList(buf[b:], v.BackClipRects) |