summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe')
-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 1a412656179..a2705d5cd6d 100644
--- a/src/mesa/pipe/draw/draw_offset.c
+++ b/src/mesa/pipe/draw/draw_offset.c
@@ -25,7 +25,11 @@
*
**************************************************************************/
-/* Authors: Keith Whitwell <[email protected]>
+/**
+ * \brief polygon offset state
+ *
+ * \author Keith Whitwell <[email protected]>
+ * \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;
}