]> git.cworth.org Git - apitrace-tests/blobdiff - apps/gl/varray.c
Fix typo in varray app.
[apitrace-tests] / apps / gl / varray.c
index 6632fac1e262c0ce17b08cb30d5da405d388561b..e415b351618c5d84116a3ac5ea312e31debdb1e5 100644 (file)
@@ -80,7 +80,7 @@ static void parseArgs(int argc, char** argv)
          setupMethod = POINTER;
       } else if (strcmp(arg, "interleaved") == 0) {
          setupMethod = INTERLEAVED;
          setupMethod = POINTER;
       } else if (strcmp(arg, "interleaved") == 0) {
          setupMethod = INTERLEAVED;
-      } else if (strcmp(arg, "DRAWARRAYS") == 0) {
+      } else if (strcmp(arg, "drawarrays") == 0) {
          derefMethod = DRAWARRAYS;
       } else if (strcmp(arg, "arrayelement") == 0) {
          derefMethod = ARRAYELEMENT;
          derefMethod = DRAWARRAYS;
       } else if (strcmp(arg, "arrayelement") == 0) {
          derefMethod = ARRAYELEMENT;