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 a9d678d1800211addf65522b86c14babe2534075..7086cae0c8e39dd0fe62c5c17aefd3a539f37899 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;
    }