demos/gears: Add a gears demo.

This commit is contained in:
Henri Verbeet
2016-11-02 14:56:13 +01:00
parent cd4f4a2976
commit 20508aee7c
11 changed files with 1115 additions and 9 deletions

View File

@@ -371,7 +371,7 @@ static int cxt_main(void)
memset(&cxt, 0, sizeof(cxt));
if (!demo_init(&cxt.demo))
if (!demo_init(&cxt.demo, NULL))
return EXIT_FAILURE;
cxt.window = demo_window_create(&cxt.demo, "Vkd3d Triangle", width, height, &cxt);