aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/mach64/mach64_context.h
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-06-09 05:10:29 +0000
committerDave Airlie <airliedfreedesktop.org>2004-06-09 05:10:29 +0000
commitb3a4a07c61775f8be4251765c9873ee64b53f3e8 (patch)
treec332029132eca238f0458669ebd612fe3b936ce4 /src/mesa/drivers/dri/mach64/mach64_context.h
parent15be94fc2641fe7bcb376ab9213146c7e01081a3 (diff)
remove unused stuff, fix non-native build
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_context.h')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.h b/src/mesa/drivers/dri/mach64/mach64_context.h
index 1f5f618804b..9edd5867c02 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.h
+++ b/src/mesa/drivers/dri/mach64/mach64_context.h
@@ -87,35 +87,13 @@ typedef struct mach64_context *mach64ContextPtr;
#define MACH64_FALLBACK_BLEND_EQ 0x0100
#define MACH64_FALLBACK_BLEND_FUNC 0x0200
+#define CARD32 GLuint /* KW: For building in mesa tree */
+
#if MACH64_NATIVE_VTXFMT
/* The vertex structures.
*/
-#if 0
-/* This isn't actually necessary since all accesses to the vertex
- * structure must be made through the LE32_* macros.
- */
-
-typedef struct {
- GLubyte blue;
- GLubyte green;
- GLubyte red;
- GLubyte alpha;
-} mach64_color_t;
-
-typedef struct {
- GLfloat u1, v1, w1; /* Texture 1 coordinates */
- GLfloat u0, v0, w0; /* Texture 0 coordinates */
- mach64_color_t specular; /* Specular color */
- GLuint z; /* Depth coordinate */
- mach64_color_t color; /* Diffuse color */
- GLushort y, x; /* Coordinates in screen space */
-} mach64_vertex;
-#endif
-
-#define CARD32 GLuint /* KW: For building in mesa tree */
-
/* The size of this union is not of relevence:
*/
union mach64_vertex_t {