summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-10 13:53:21 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-10 13:53:21 -0600
commit1deafdb1dec24c2920ab92098f1433273b2ccbdd (patch)
tree620113d9c9ebee3dd3a80df46771252c3e03c78f /src/mesa/pipe/softpipe/sp_surface.h
parentf6dffd6ee70473dcbf65420a9c635049199f7a4e (diff)
Do depth testing with integer values.
Using floats (and float->ushort->float conversion) introduces errors. Only GLushort depth buffers work for now...
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h
index ac66ffe891..450542abdd 100644
--- a/src/mesa/pipe/softpipe/sp_surface.h
+++ b/src/mesa/pipe/softpipe/sp_surface.h
@@ -79,9 +79,9 @@ struct softpipe_surface {
GLubyte rgba[NUM_CHANNELS] );
void (*read_quad_z)(struct softpipe_surface *,
- GLint x, GLint y, GLfloat zzzz[QUAD_SIZE]);
+ GLint x, GLint y, GLuint zzzz[QUAD_SIZE]);
void (*write_quad_z)(struct softpipe_surface *,
- GLint x, GLint y, const GLfloat zzzz[QUAD_SIZE]);
+ GLint x, GLint y, const GLuint zzzz[QUAD_SIZE]);
};