Mesa (master): swrast: s/GLfloat/GLuint/ in bzero()

Nicolai Hähnle nh at kemper.freedesktop.org
Wed Oct 7 18:39:38 UTC 2009


Module: Mesa
Branch: master
Commit: edbaa717b49f679572805d535ed7c77518257781
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edbaa717b49f679572805d535ed7c77518257781

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Oct  7 08:07:53 2009 -0600

swrast: s/GLfloat/GLuint/ in bzero()

---

 src/mesa/swrast/s_depth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index a9d678d..7086cae 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;
    }
 




More information about the mesa-commit mailing list