diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-03-14 08:26:01 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-03-14 08:26:01 -0600 |
| commit | 3793f6008f7b8b1f4abb38953f4ebe931484395e (patch) | |
| tree | 5110fc86fac1a6db2a26bc0e37a1fd610121ded6 | |
| parent | 401164266a64aaa506224c173962a31f689f6b4c (diff) | |
| download | usermoji-3793f6008f7b8b1f4abb38953f4ebe931484395e.tar.xz | |
demos: Fix typo in tri.c that prevented validate arg from working correctly
Change-Id: I8562e601c27e2413071f47ed97fe5ffd9f46bd07
| -rw-r--r-- | demos/tri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tri.c b/demos/tri.c index 63e9dfd9..24d90b64 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -2256,7 +2256,7 @@ static void demo_init(struct demo *demo, const int argc, const char *argv[]) if (strncmp(pCmdLine, "--use_staging", strlen("--use_staging")) == 0) demo->use_staging_buffer = true; else if (strncmp(pCmdLine, "--validate", strlen("--validate")) == 0) - demo->use_staging_buffer = true; + demo->validate = true; else if (strlen(pCmdLine) != 0) { fprintf(stderr, "Do not recognize argument \"%s\".\n", pCmdLine); argv_error = true; |
