glx: use dispatch.h instead of glapioffsets.h
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
66e6037c33
commit
d26cb70272
|
@ -44,9 +44,11 @@
|
|||
#endif
|
||||
|
||||
#include "glapi.h"
|
||||
#include "glapioffsets.h"
|
||||
#include "dispatch.h"
|
||||
#include "glapitable.h"
|
||||
|
||||
#define FIRST_DYNAMIC_OFFSET (sizeof(struct _glapi_table) / sizeof(void *))
|
||||
|
||||
#if defined(PTHREADS) || defined(GLX_USE_TLS)
|
||||
static void init_glapi_relocs(void);
|
||||
#endif
|
||||
|
@ -380,7 +382,7 @@ PUBLIC int
|
|||
_glapi_add_dispatch( const char * const * function_names,
|
||||
const char * parameter_signature )
|
||||
{
|
||||
static int next_dynamic_offset = _gloffset_FIRST_DYNAMIC;
|
||||
static int next_dynamic_offset = FIRST_DYNAMIC_OFFSET;
|
||||
const char * const real_sig = (parameter_signature != NULL)
|
||||
? parameter_signature : "";
|
||||
struct _glapi_function * entry[8];
|
||||
|
|
1174
glx/glapioffsets.h
1174
glx/glapioffsets.h
File diff suppressed because it is too large
Load Diff
|
@ -44,7 +44,6 @@
|
|||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
#include "glapioffsets.h"
|
||||
|
||||
static int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
|
||||
unsigned get_programiv_offset, unsigned get_program_string_offset,
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
#include "glapioffsets.h"
|
||||
#include "glxbyteorder.h"
|
||||
|
||||
static int DoSwapInterval(__GLXclientState *cl, GLbyte *pc, int do_swap);
|
||||
|
|
Loading…
Reference in New Issue
Block a user