diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-02-08 23:15:03 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-02-08 23:29:15 +0000 |
commit | 8b0b5ace4871847f7d8608e0ce6f67b7c5731ea7 (patch) | |
tree | ec8c93fdf95eb7cb6f70b340510a6c8ce44b78a8 /src/glx/x11/dri2_glx.c | |
parent | c61bf363937f40624a5632745630d4f2b9907082 (diff) |
glx: Fix SwapBuffers regression introduced by 01923fb72d.
After that commit, some dri2 protocol symbols were being checked from
places that weren't including dri2proto.h, effectively disabling some
valuable SwapBuffers codepaths.
Diffstat (limited to 'src/glx/x11/dri2_glx.c')
-rw-r--r-- | src/glx/x11/dri2_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c index 6200df94f7..15a3ea5907 100644 --- a/src/glx/x11/dri2_glx.c +++ b/src/glx/x11/dri2_glx.c @@ -37,6 +37,7 @@ #include <X11/extensions/Xdamage.h> #include "glapi.h" #include "glxclient.h" +#include <X11/extensions/dri2proto.h> #include "xf86dri.h" #include <dlfcn.h> #include <fcntl.h> |