mesa: fix return statements in varray.c
authorBrian Paul <brianp@vmware.com>
Thu, 7 Nov 2013 22:23:34 +0000 (15:23 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 7 Nov 2013 22:23:36 +0000 (15:23 -0700)
Return false, not GL_FALSE.  Add missing return value.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71359

src/mesa/main/varray.c

index 1009bb8927987fed9e630140dcb067a7a1979fb6..d17d698d3fb755af14896f192c42bfbba987c5ae 100644 (file)
@@ -315,13 +315,13 @@ update_array_format(struct gl_context *ctx,
                   "%s(relativeOffset=%d > "
                   "GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET)",
                   func, relativeOffset);
-      return GL_FALSE;
+      return false;
    }
 
    if (ctx->Extensions.ARB_vertex_type_10f_11f_11f_rev &&
          type == GL_UNSIGNED_INT_10F_11F_11F_REV && size != 3) {
       _mesa_error(ctx, GL_INVALID_OPERATION, "%s(size=%d)", func, size);
-      return;
+      return false;
    }
 
    ASSERT(size <= 4);