From 7bd5343990ccccdc5d2d06b8b11dd20fa8e04255 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 22 Apr 2004 08:14:48 +0000 Subject: Fix order of EMIT_4UB_4F declarations --- src/mesa/tnl/t_vertex.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl') diff --git a/src/mesa/tnl/t_vertex.h b/src/mesa/tnl/t_vertex.h index 04106264ff2..8c93907c6f2 100644 --- a/src/mesa/tnl/t_vertex.h +++ b/src/mesa/tnl/t_vertex.h @@ -28,6 +28,8 @@ #ifndef _TNL_VERTEX_H #define _TNL_VERTEX_H +#include "mtypes.h" + /* New mechanism to specify hardware vertices so that tnl can build * and manipulate them directly. */ @@ -46,10 +48,10 @@ enum tnl_attr_format { EMIT_4F_VIEWPORT, /* do viewport transform and emit */ EMIT_3F_XYW, /* for projective texture */ EMIT_1UB_1F, /* for fog coordinate */ - EMIT_3UB_3F_BGR, /* for specular color */ EMIT_3UB_3F_RGB, /* for specular color */ - EMIT_4UB_4F_BGRA, /* for color */ + EMIT_3UB_3F_BGR, /* for specular color */ EMIT_4UB_4F_RGBA, /* for color */ + EMIT_4UB_4F_BGRA, /* for color */ EMIT_4CHAN_4F_RGBA, /* for swrast color */ EMIT_PAD, /* leave a hole of 'offset' bytes */ EMIT_MAX -- cgit v1.2.3