From 8b0b5ace4871847f7d8608e0ce6f67b7c5731ea7 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 8 Feb 2010 23:15:03 +0100 Subject: 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. --- src/glx/x11/dri2_glx.c | 1 + src/glx/x11/glxext.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/glx') diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c index 6200df94f7f..15a3ea59073 100644 --- a/src/glx/x11/dri2_glx.c +++ b/src/glx/x11/dri2_glx.c @@ -37,6 +37,7 @@ #include #include "glapi.h" #include "glxclient.h" +#include #include "xf86dri.h" #include #include diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index dde694b9f8b..c2de1a3fff8 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -41,6 +41,7 @@ #include "glxclient.h" #include #include +#include #include "glxextensions.h" #include "glcontextmodes.h" -- cgit v1.2.3