summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/mga/mgalib.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/mga/mgalib.h')
-rw-r--r--xc/lib/GL/mesa/src/drv/mga/mgalib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mgalib.h b/xc/lib/GL/mesa/src/drv/mga/mgalib.h
index 7d086ae28..e00525f7b 100644
--- a/xc/lib/GL/mesa/src/drv/mga/mgalib.h
+++ b/xc/lib/GL/mesa/src/drv/mga/mgalib.h
@@ -313,4 +313,12 @@ static __inline__ mgaUI32 mgaPackColor(mgaUI32 format,
}
}
+
+/*
+ * Subpixel offsets for window coordinates:
+ */
+#define SUBPIXEL_X (-0.5F)
+#define SUBPIXEL_Y (-0.5F + 0.125)
+
+
#endif