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.
This commit is contained in:
Francisco Jerez 2010-02-08 23:15:03 +01:00 committed by Keith Whitwell
parent c61bf36393
commit 8b0b5ace48
2 changed files with 2 additions and 0 deletions

View file

@ -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>

View file

@ -41,6 +41,7 @@
#include "glxclient.h"
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
#include <X11/extensions/dri2proto.h>
#include "glxextensions.h"
#include "glcontextmodes.h"