summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxdrv.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-07-17 14:50:11 +0000
committerBrian Paul <[email protected]>2003-07-17 14:50:11 +0000
commitc19cbb58cd2862393d67b62a5fc523b6fa1ac9a6 (patch)
tree46e79f545a67ad9c47d43685ec2092b21a6e1cda /src/mesa/drivers/glide/fxdrv.h
parent6dc85575000127630489b407c50a4b3ea87c9acb (diff)
more DOS updates from Daniel Borca
Diffstat (limited to 'src/mesa/drivers/glide/fxdrv.h')
-rw-r--r--src/mesa/drivers/glide/fxdrv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h
index c7e1b5aa7a4..56d76634fb5 100644
--- a/src/mesa/drivers/glide/fxdrv.h
+++ b/src/mesa/drivers/glide/fxdrv.h
@@ -1,4 +1,4 @@
-/* $Id: fxdrv.h,v 1.56 2003/01/08 21:32:33 brianp Exp $ */
+/* $Id: fxdrv.h,v 1.57 2003/07/17 14:50:12 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -334,6 +334,8 @@ extern GLubyte FX_PixelToR[0x10000];
extern GLubyte FX_PixelToG[0x10000];
extern GLubyte FX_PixelToB[0x10000];
+/* lookup table for scaling 5 bit colors up to 8 bits */
+GLuint FX_rgb_scale_5[32];
typedef void (*fx_tri_func) (fxMesaContext, GrVertex *, GrVertex *, GrVertex *);
typedef void (*fx_line_func) (fxMesaContext, GrVertex *, GrVertex *);
@@ -440,6 +442,8 @@ struct tfxMesaContext
int clipMaxX;
int clipMinY;
int clipMaxY;
+
+ int colDepth;
};