mesa: fix broken _mesa_str_checksum()
[mesa.git] / src / mesa / main / image.c
index baecbab0a35bb4f373d7a7ab469beacab286de9b..139e56a96be037a21fd249ec35d1c1b7c7c46d80 100644 (file)
@@ -5511,7 +5511,7 @@ _mesa_clip_drawpixels(const GLcontext *ctx,
    }
 
    if (*height <= 0)
-      return GL_TRUE;
+      return GL_FALSE;
 
    return GL_TRUE;
 }
@@ -5564,7 +5564,7 @@ _mesa_clip_readpixels(const GLcontext *ctx,
       *height -= (*srcY + *height - buffer->Height);
 
    if (*height <= 0)
-      return GL_TRUE;
+      return GL_FALSE;
 
    return GL_TRUE;
 }