swrast: s/GLfloat/GLuint/ in bzero()
authorBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 14:07:53 +0000 (08:07 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 14:07:53 +0000 (08:07 -0600)
src/mesa/swrast/s_depth.c

index a9d678d..7086cae 100644 (file)
@@ -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;
    }