commit | a0ad7961b75464502476467d77d68cb48e893d60 | [log] [tgz] |
---|---|---|
author | Ian Elliott <ianelliott@google.com> | Tue May 17 14:05:28 2016 -0600 |
committer | Ian Elliott <ianelliott@google.com> | Tue May 17 14:05:28 2016 -0600 |
tree | b7d3e95442e9c9a7ff413a317316b0a2d76faca6 | |
parent | 2221dbabf9b07ad2c3d927769782d855a0b0d4ee [diff] |
Port to Windows.
diff --git a/demos/cube.c b/demos/cube.c index c76bb9f..2429b5f 100644 --- a/demos/cube.c +++ b/demos/cube.c
@@ -782,7 +782,12 @@ static unsigned frameCount = 0; printf("frame %u\n", ++frameCount); +#ifdef __linux__ usleep(500000); +#endif +#ifdef _WIN32 +Sleep(500); +#endif err = vkQueueWaitIdle(demo->queue); assert(err == VK_SUCCESS);