Mercurial > hg > forks > gldragon
comparison gldragon.cpp @ 98:44e3656f4c83
Fix help to display correct range for frame numbers.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 25 May 2021 09:46:06 +0300 |
parents | 05677852afd5 |
children | a3486ce56148 |
comparison
equal
deleted
inserted
replaced
97:05677852afd5 | 98:44e3656f4c83 |
---|---|
227 " (may be required for software rendering backends),\n" | 227 " (may be required for software rendering backends),\n" |
228 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" | 228 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" |
229 " Using vsync (2) will result in FPS being approximately\n" | 229 " Using vsync (2) will result in FPS being approximately\n" |
230 " whatever your monitor refresh rate is. The default\n" | 230 " whatever your monitor refresh rate is. The default\n" |
231 " value is 1 (no vsync).\n" | 231 " value is 1 (no vsync).\n" |
232 " -p<frameN> Start and pause at cycle frame (max %d).\n" | 232 " -p<frameN> Start and pause at cycle frame (%d .. %d).\n" |
233 "\n" | 233 "\n" |
234 "Keyboard controls during runtime:\n" | 234 "Keyboard controls during runtime:\n" |
235 " p / space Toggle pause (does not/should not affect fps measurement)\n" | 235 " p / space Toggle pause (does not/should not affect fps measurement)\n" |
236 " q / esc Quit\n" | 236 " q / esc Quit\n" |
237 " arrow keys Enter manual mode and rotate left/right\n" | 237 " arrow keys Enter manual mode and rotate left/right\n" |
238 "\n", | 238 "\n", |
239 argv[0], | 239 argv[0], |
240 SET_DEF_WIDTH, SET_DEF_HEIGHT, | 240 SET_DEF_WIDTH, SET_DEF_HEIGHT, |
241 SET_FRAMES | 241 0, SET_FRAMES - 1 |
242 ); | 242 ); |
243 | 243 |
244 goto exit; | 244 goto exit; |
245 } | 245 } |
246 | 246 |