Mercurial > hg > forks > gldragon
comparison gldragon.cpp @ 50:d4232c89145f
Clarify the help for -v option.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Dec 2019 01:18:32 +0200 |
parents | 2e2c3fe311da |
children | 9c6654647608 |
comparison
equal
deleted
inserted
replaced
49:2e2c3fe311da | 50:d4232c89145f |
---|---|
471 "-? Show this help\n" | 471 "-? Show this help\n" |
472 "-g Use GLSL shader instead of basic OpenGL lighting\n" | 472 "-g Use GLSL shader instead of basic OpenGL lighting\n" |
473 "-w<width> Window width (default %d)\n" | 473 "-w<width> Window width (default %d)\n" |
474 "-h<height> Window height (default %d)\n" | 474 "-h<height> Window height (default %d)\n" |
475 "-v<0-3> Set vsync mode: 0 = do not attempt to set vsync mode\n" | 475 "-v<0-3> Set vsync mode: 0 = do not attempt to set vsync mode\n" |
476 " (may be required for Mesa software rendering),\n" | 476 " (may be required for software rendering backends),\n" |
477 " 1 = no vsync, 2 = vsync, 3 = adaptive. Default is 1\n" | 477 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" |
478 " (no vsync). Using vsync will result in FPS being\n" | 478 " Using vsync (2) will result in FPS being approximately\n" |
479 " approx whatever your monitor refresh rate is.\n" | 479 " whatever your monitor refresh rate is. The default\n" |
480 " value is 1 (no vsync).\n" | |
480 "\n", | 481 "\n", |
481 argv[0], | 482 argv[0], |
482 SET_DEF_WIDTH, SET_DEF_HEIGHT | 483 SET_DEF_WIDTH, SET_DEF_HEIGHT |
483 ); | 484 ); |
484 | 485 |