summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-07 08:07:53 -0600
committerBrian Paul <brianp@vmware.com>2009-10-07 08:07:53 -0600
commitedbaa717b49f679572805d535ed7c77518257781 (patch)
treec307e060a18b41dbca84d0a529c009b21c4c402c /src/mesa
parent14f21c785087f86d291243400e59ebfc8721c4f6 (diff)
swrast: s/GLfloat/GLuint/ in bzero()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index a9d678d180..7086cae0c8 100644
--- a/src/mesa/swrast/s_depth.c
+++ b/src/mesa/swrast/s_depth.c
@@ -1274,7 +1274,7 @@ _swrast_read_depth_span_uint( GLcontext *ctx, struct gl_renderbuffer *rb,
{
if (!rb) {
/* really only doing this to prevent FP exceptions later */
- _mesa_bzero(depth, n * sizeof(GLfloat));
+ _mesa_bzero(depth, n * sizeof(GLuint));
return;
}