summaryrefslogtreecommitdiff
path: root/GL/glx/impsize.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-09-27 00:04:40 +0000
committerIan Romanick <idr@us.ibm.com>2005-09-27 00:04:40 +0000
commit30ff9e26196bdba8435e0dcdb96864e81c8cb136 (patch)
tree641f0e646ca9847c6099466c3de5a4436506d289 /GL/glx/impsize.h
parent6c5c54b9a2872f1bb7de36a8d2d4efcef70b14c6 (diff)
Fix some problems that caused incorrectly annotated prototypes for
__gl*_size functions to be used. The result was that, on x86, the code would be compiled with FASTCALL semantics, but the callers would not. This should fix GLX protocol errors that people are seeing. There doesn't appear to be a bugzilla associated with this problem.
Diffstat (limited to 'GL/glx/impsize.h')
-rw-r--r--GL/glx/impsize.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/GL/glx/impsize.h b/GL/glx/impsize.h
index 1bef03d21..a04f49cf3 100644
--- a/GL/glx/impsize.h
+++ b/GL/glx/impsize.h
@@ -48,30 +48,10 @@
** itself), but we thought it was better to call these routines than to
** replicate the code in here.
*/
-extern int __glCallLists_size(GLsizei n, GLenum type);
-extern int __glColorTableParameterfv_size(GLenum pname);
-extern int __glColorTableParameteriv_size(GLenum pname);
-extern int __glConvolutionParameterfv_size(GLenum pname);
-extern int __glConvolutionParameteriv_size(GLenum pname);
+
+#include "indirect_size.h"
+
extern int __glDrawPixels_size(GLenum format, GLenum type, GLsizei w,GLsizei h);
-extern int __glFogfv_size(GLenum pname);
-extern int __glFogiv_size(GLenum pname);
-extern int __glLightModelfv_size(GLenum pname);
-extern int __glLightModeliv_size(GLenum pname);
-extern int __glLightfv_size(GLenum pname);
-extern int __glLightiv_size(GLenum pname);
-extern int __glMaterialfv_size(GLenum pname);
-extern int __glMaterialiv_size(GLenum pname);
-extern int __glTexEnvfv_size(GLenum e);
-extern int __glTexEnviv_size(GLenum e);
-extern int __glTexGendv_size(GLenum e);
-extern int __glTexGenfv_size(GLenum e);
-extern int __glTexGeniv_size(GLenum pname);
-extern int __glTexParameterfv_size(GLenum e);
-extern int __glTexParameteriv_size(GLenum e);
extern int __glEvalComputeK(GLenum target);
-extern int __glPointParameterfvEXT_size(GLenum e);
-extern int __glPointParameterivNV_size(GLenum e);
-
#endif /* _impsize_h_ */