summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-21 02:47:32 +0000
committerBrian Paul <[email protected]>2005-09-21 02:47:32 +0000
commit3e37bafab0a339021354b9c78f983d05d433d735 (patch)
tree624d1c39e30f8a74bf0860f9389cd772f9dfe0f5 /src/mesa/swrast/s_context.h
parent4092fbd55ac92a59d09d5167ced328683bed049c (diff)
replace GLdepth with GLuint and remove GLdepth
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index 79250b315b9..9deaa6d42db 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -85,7 +85,7 @@ struct span_arrays {
GLchan spec[MAX_WIDTH][4]; /* specular color */
GLint x[MAX_WIDTH]; /**< X/Y used for point/line rendering only */
GLint y[MAX_WIDTH]; /**< X/Y used for point/line rendering only */
- GLdepth z[MAX_WIDTH];
+ GLuint z[MAX_WIDTH];
GLfloat fog[MAX_WIDTH];
GLfloat texcoords[MAX_TEXTURE_COORD_UNITS][MAX_WIDTH][4];
GLfloat lambda[MAX_TEXTURE_COORD_UNITS][MAX_WIDTH];
@@ -161,7 +161,7 @@ struct sw_span {
GLfixed specBlue, specBlueStep;
#endif
GLfixed index, indexStep;
- GLfixed z, zStep;
+ GLfixed z, zStep; /* XXX z should probably be GLuint */
GLfloat fog, fogStep;
GLfloat tex[MAX_TEXTURE_COORD_UNITS][4]; /* s, t, r, q */
GLfloat texStepX[MAX_TEXTURE_COORD_UNITS][4];