GLX: Purge glxint.h usage

Change (__GLXvisualConfig *) to (void *) in ABI compat stubs.
This commit is contained in:
Jeremy Huddleston 2009-05-29 14:44:40 -07:00
parent e587436cf2
commit b4adec886c
3 changed files with 3 additions and 4 deletions

View File

@ -58,7 +58,7 @@ typedef struct {
); );
void (*setVisualConfigs)( void (*setVisualConfigs)(
int nconfigs, int nconfigs,
__GLXvisualConfig *configs, void *configs,
void **privates void **privates
); );
} __GLXextensionInfo; } __GLXextensionInfo;

View File

@ -274,7 +274,7 @@ glxGetScreen(ScreenPtr pScreen)
} }
void GlxSetVisualConfigs(int nconfigs, void GlxSetVisualConfigs(int nconfigs,
__GLXvisualConfig *configs, void **privates) void *configs, void **privates)
{ {
/* We keep this stub around for the DDX drivers that still /* We keep this stub around for the DDX drivers that still
* call it. */ * call it. */

View File

@ -60,7 +60,6 @@
#define GL_GLEXT_PROTOTYPES /* we want prototypes */ #define GL_GLEXT_PROTOTYPES /* we want prototypes */
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glxproto.h> #include <GL/glxproto.h>
#include <GL/glxint.h>
/* For glxscreens.h */ /* For glxscreens.h */
typedef struct __GLXdrawable __GLXdrawable; typedef struct __GLXdrawable __GLXdrawable;
@ -98,7 +97,7 @@ extern __GLXclientState *glxGetClient(ClientPtr pClient);
void GlxExtensionInit(void); void GlxExtensionInit(void);
void GlxSetVisualConfigs(int nconfigs, void GlxSetVisualConfigs(int nconfigs,
__GLXvisualConfig *configs, void **privates); void *configs, void **privates);
struct _glapi_table; struct _glapi_table;
void GlxSetRenderTables (struct _glapi_table *table); void GlxSetRenderTables (struct _glapi_table *table);