aboutsummaryrefslogtreecommitdiff
path: root/nexgb/auto_xf86dri.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/auto_xf86dri.go')
-rw-r--r--nexgb/auto_xf86dri.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/nexgb/auto_xf86dri.go b/nexgb/auto_xf86dri.go
index 7407d24..362fa40 100644
--- a/nexgb/auto_xf86dri.go
+++ b/nexgb/auto_xf86dri.go
@@ -1,7 +1,7 @@
package xgb
/*
- This file was generated by xf86dri.xml on May 6 2012 5:48:47pm EDT.
+ This file was generated by xf86dri.xml on May 7 2012 9:17:57pm EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -12,7 +12,7 @@ func (c *Conn) Xf86driInit() error {
case err != nil:
return err
case !reply.Present:
- return newError("No extension named XFree86-DRI could be found on on the server.")
+ return errorf("No extension named XFree86-DRI could be found on on the server.")
}
c.extLock.Lock()
@@ -20,6 +20,9 @@ func (c *Conn) Xf86driInit() error {
for evNum, fun := range newExtEventFuncs["XFree86-DRI"] {
newEventFuncs[int(reply.FirstEvent)+evNum] = fun
}
+ for errNum, fun := range newExtErrorFuncs["XFree86-DRI"] {
+ newErrorFuncs[int(reply.FirstError)+errNum] = fun
+ }
c.extLock.Unlock()
return nil
@@ -27,6 +30,7 @@ func (c *Conn) Xf86driInit() error {
func init() {
newExtEventFuncs["XFree86-DRI"] = make(map[int]newEventFun)
+ newExtErrorFuncs["XFree86-DRI"] = make(map[int]newErrorFun)
}
// Skipping definition for base type 'Int8'