summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/macros.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-08 04:09:41 +0000
committerKeith Whitwell <[email protected]>2001-01-08 04:09:41 +0000
commitb980b2eeb62dc48101a7481d02d196c80b9da397 (patch)
tree2b9bf4b63b99a6df4e96123181da0a624289ad92 /src/mesa/main/macros.h
parent44d8de433e684cb4c2bc4dfc5cc6919af1f3cc55 (diff)
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
Diffstat (limited to 'src/mesa/main/macros.h')
-rw-r--r--src/mesa/main/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h
index a77e2fc65b2..a8694a96c39 100644
--- a/src/mesa/main/macros.h
+++ b/src/mesa/main/macros.h
@@ -1,4 +1,4 @@
-/* $Id: macros.h,v 1.16 2000/12/26 05:09:29 keithw Exp $ */
+/* $Id: macros.h,v 1.17 2001/01/08 04:09:41 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -73,7 +73,7 @@
#define STRIDE_F(p, i) (p = (GLfloat *)((GLubyte *)p + i))
#define STRIDE_UI(p, i) (p = (GLuint *)((GLubyte *)p + i))
#define STRIDE_4UB(p, i) (p = (GLubyte (*)[4])((GLubyte *)p + i))
-#define STRIDE_T(p, t, i) (p = (t *)((GLubyte *)p + i))
+#define STRIDE_T(p, t, i) (p = (t)((GLubyte *)p + i))
#define ZERO_2V( DST ) (DST)[0] = (DST)[1] = 0