Skip to content

Commit

Permalink
Added --no-vsync option.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Apr 19, 2011
1 parent 50f9982 commit 5f20ec3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ options:
--multi-sampling
Enable multi-sampling.

--bloom-multiplier FLOAT
--no-vsync
Disable vsync.

--bloom-multiplier FLOAT
Adjust the amount of bloom.

--bloom-intensity FLOAT
Expand Down
3 changes: 3 additions & 0 deletions data/gource.1
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ Camera view padding.
\fB\-\-multi\-sampling\fR
Enable multi-sampling.
.TP
\fB\-\-no\-vsync\fR
Disable vsync.
.TP
\fB\-\-bloom\-multiplier FLOAT\fR
Adjust the amount of bloom.
.TP
Expand Down
2 changes: 1 addition & 1 deletion src/core
Submodule core updated from ea4c22 to 65f3f9
3 changes: 2 additions & 1 deletion src/gource_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void GourceSettings::help(bool extended_help) {
printf(" -h, --help Help\n\n");
printf(" -WIDTHxHEIGHT, --viewport Set viewport size\n");
printf(" -f, --fullscreen Fullscreen\n");
printf(" --multi-sampling Enable multi-sampling\n\n");
printf(" --multi-sampling Enable multi-sampling\n");
printf(" --no-vsync Disable vsync\n\n");

printf(" -p, --start-position POSITION Begin at some position (0.0-1.0 or 'random')\n");
printf(" --stop-position POSITION Stop at some position\n");
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
}

//enable vsync
display.enableVsync(true);
display.enableVsync(gGourceSettings.vsync);

try {

Expand Down

0 comments on commit 5f20ec3

Please sign in to comment.