diff options
author | George Sapountzis <[email protected]> | 2008-04-18 17:28:34 +0300 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2008-04-23 11:12:31 +0300 |
commit | df04ffbf025994abd59e26c8439e77bb340ef20b (patch) | |
tree | c95ec9815e4b00d4a9e1249fedd54048f1310122 /src/glx/x11/glxcmds.c | |
parent | 37be884875ed291c7cf378c570df1cd46b8c2fa1 (diff) |
glx: split out current context code
also clean header inclusion after code movement
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r-- | src/glx/x11/glxcmds.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index ddb006193c2..2110b2cd86d 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -39,22 +39,17 @@ * Client-side GLX interface. */ -#include <inttypes.h> #include "glxclient.h" -#include <X11/extensions/extutil.h> -#include <X11/extensions/Xext.h> -#include <assert.h> -#include <string.h> #include "glapi.h" -#ifdef GLX_DIRECT_RENDERING -#include "indirect_init.h" -#include <X11/extensions/xf86vmode.h> -#include "xf86dri.h" -#endif #include "glxextensions.h" #include "glcontextmodes.h" #include "glheader.h" + +#ifdef GLX_DIRECT_RENDERING #include <sys/time.h> +#include <X11/extensions/xf86vmode.h> +#include "xf86dri.h" +#endif static const char __glXGLXClientVendorName[] = "SGI"; static const char __glXGLXClientVersion[] = "1.4"; |