From: Brian Paul Date: Wed, 7 Oct 2009 14:07:53 +0000 (-0600) Subject: swrast: s/GLfloat/GLuint/ in bzero() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edbaa717b49f679572805d535ed7c77518257781;p=mesa.git swrast: s/GLfloat/GLuint/ in bzero() --- diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index a9d678d1800..7086cae0c8e 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; }