```bash
#fetch sources from github
-git clone --recursive https://github.com/jpbruyere/vkvg.git
+git clone --recursive https://github.com/jpbruyere/vkvg.git
cd vkvg
# Create build directory
mkdir build
A [detailed tutorial](doc/windows_build_tutorial.md) is available for Windows.
+### Running tests
+
+Append the `-h` option to see available command line parameters.
+
+
### To Do
- [x] Use Scissor where possible.
printf("\t-q:\t\tQuiet, don't print measures table head row, usefull for batch tests\n");
printf("\t-p:\t\tPrint test details and exit without performing test, usefull to print details in logs\n");
printf("\t-vsync:\t\tEnable VSync, disabled by default\n");
- printf("\t-help:\t\tthis help message.\n");
+ printf("\t-h:\t\t\tthis help message.\n");
printf("\n");
exit(-1);
}
if (strcmp (argv[i], "-p\0") == 0)
printTestDetailsAndExit = true;
else if (strcmp (argv[i], "-vsync\0") == 0)
- test_vsync = true;
+ test_vsync = true;
else if (strcmp (argv[i], "-q\0") == 0)
quiet = true;
else if (strcmp (argv[i], "-i\0") == 0) {
}else if (strcmp (argv[i], "-s\0") == 0) {
if (argc -1 < ++i)
_print_usage_and_exit();
- test_size = atoi (argv[i]);
+ test_size = atoi (argv[i]);
}else if (strcmp (argv[i], "-S\0") == 0) {
if (argc -1 < ++i)
_print_usage_and_exit();