summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/swrast.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-27 22:26:18 -0700
committerBrian Paul <brianp@vmware.com>2009-02-28 09:35:16 -0700
commit389d50baff8234fdf4d7bcddeb09658d7d17012d (patch)
tree5c42e1fa06522db8c5d4dcd8af6f6f916a685d6c /src/mesa/swrast/swrast.h
parent8bf25a17d2f8f888e8e8a4f7a2c6d68c6c06f6e8 (diff)
mesa: move GLfixed type and related macros to swrast module
Fixed point is only used in swrast and sw-based drivers.
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r--src/mesa/swrast/swrast.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index 047f7991e64..015f8a05c3e 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -75,6 +75,12 @@ typedef struct {
} SWvertex;
+/**
+ * Fixed point data type.
+ */
+typedef int GLfixed;
+
+
#define FRAG_ATTRIB_CI FRAG_ATTRIB_COL0