summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_offset.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-11 16:17:23 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-11 16:17:23 -0600
commit2371ed36f7761c4fa452e51a41947ed34f2b661b (patch)
treee4d8c460d7c4387429704b8aca279ceb53f7cb87 /src/mesa/pipe/draw/draw_offset.c
parent46d75518fa4d0cb59dd73a9cd22bfd128ecb2c79 (diff)
remove unused hw_data_offset
Diffstat (limited to 'src/mesa/pipe/draw/draw_offset.c')
-rw-r--r--src/mesa/pipe/draw/draw_offset.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/pipe/draw/draw_offset.c b/src/mesa/pipe/draw/draw_offset.c
index 1a41265617..a2705d5cd6 100644
--- a/src/mesa/pipe/draw/draw_offset.c
+++ b/src/mesa/pipe/draw/draw_offset.c
@@ -25,7 +25,11 @@
*
**************************************************************************/
-/* Authors: Keith Whitwell <keith@tungstengraphics.com>
+/**
+ * \brief polygon offset state
+ *
+ * \author Keith Whitwell <keith@tungstengraphics.com>
+ * \author Brian Paul
*/
#include "main/imports.h"
@@ -37,8 +41,6 @@
struct offset_stage {
struct prim_stage stage;
- GLuint hw_data_offset;
-
GLfloat scale;
GLfloat units;
};
@@ -47,7 +49,7 @@ struct offset_stage {
static INLINE struct offset_stage *offset_stage( struct prim_stage *stage )
{
- return (struct offset_stage *)stage;
+ return (struct offset_stage *) stage;
}