summaryrefslogtreecommitdiff
path: root/GL/glx/glxserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/glxserver.h')
-rw-r--r--GL/glx/glxserver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/GL/glx/glxserver.h b/GL/glx/glxserver.h
index 8ece1e2a6..ce91ce3d8 100644
--- a/GL/glx/glxserver.h
+++ b/GL/glx/glxserver.h
@@ -196,9 +196,11 @@ extern __GLXprocPtr __glXProcTable[];
/*
* Tables for computing the size of each rendering command.
*/
+typedef int (*gl_proto_size_func)(const GLbyte *, Bool);
+
typedef struct {
int bytes;
- int (*varsize)(const GLbyte *pc, Bool swap);
+ gl_proto_size_func varsize;
} __GLXrenderSizeData;
extern __GLXrenderSizeData __glXRenderSizeTable[];
extern __GLXrenderSizeData __glXRenderSizeTable_EXT[];