diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-08-23 17:31:38 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-08-24 11:28:12 +0800 |
commit | 40fd4323b4be0eee6d4204463737a37011739333 (patch) | |
tree | 958815cc7f799d2487a664c0be5f3613298a35c2 /src/gallium/state_trackers/glx/xlib/glx_api.c | |
parent | bfd7c9ac228c7ed8aec04c3b3aa33f40ee00b035 (diff) |
st/glx: Include main/core.h.
Make st/glx include only main/core.h from core mesa.
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib/glx_api.c')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_api.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index eb8d6a1933..a90edfb055 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -34,10 +34,6 @@ #include "GL/glx.h" #include "xm_api.h" -#include "main/context.h" -#include "main/macros.h" -#include "main/imports.h" -#include "main/version.h" /* This indicates the client-side GLX API and GLX encoder version. */ @@ -1299,7 +1295,7 @@ glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, XMesaContext xm_dst = dst->xmesaContext; (void) dpy; if (MakeCurrent_PrevContext == src) { - _mesa_Flush(); + glFlush(); } XMesaCopyContext(xm_src, xm_dst, mask); } |