diff options
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_context.h | 26 |
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 { |