From: Francisco Jerez Date: Mon, 8 Feb 2010 22:15:03 +0000 (+0100) Subject: glx: Fix SwapBuffers regression introduced by 01923fb72d. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b0b5ace4871847f7d8608e0ce6f67b7c5731ea7;p=mesa.git 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. --- 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"