projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glx: convert glx_config_create_list to one big calloc
[mesa.git]
/
src
/
glx
/
vertarr.c
diff --git
a/src/glx/vertarr.c
b/src/glx/vertarr.c
index 398cfb1e7965fe6bb4becb0d4a2751bbbafcd3fc..066bf59f759a74d687a3c4a8f90745772d94688c 100644
(file)
--- a/
src/glx/vertarr.c
+++ b/
src/glx/vertarr.c
@@
-32,6
+32,7
@@
#include "indirect.h"
#include "indirect_vertex_array.h"
#include "indirect.h"
#include "indirect_vertex_array.h"
+#ifndef GLX_USE_APPLEGL
/*****************************************************************************/
/*****************************************************************************/
@@
-101,7
+102,7
@@
void
__indirect_glInterleavedArrays(GLenum format, GLsizei stride,
const GLvoid * pointer)
{
__indirect_glInterleavedArrays(GLenum format, GLsizei stride,
const GLvoid * pointer)
{
-
__GLX
context *gc = __glXGetCurrentContext();
+
struct glx_
context *gc = __glXGetCurrentContext();
__GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
#define NONE {0, 0, 0}
__GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
#define NONE {0, 0, 0}
@@
-210,3
+211,5
@@
__indirect_glInterleavedArrays(GLenum format, GLsizei stride,
trueStride,
(const char *) pointer + offsets[3]);
}
trueStride,
(const char *) pointer + offsets[3]);
}
+
+#endif