Browse files

Added --no-vsync option.

  • Loading branch information...
1 parent 50f9982 commit 5f20ec3e0549cbe8a2611023bef72ab7e02d57fb @acaudwell committed Apr 19, 2011
Showing with 11 additions and 4 deletions.
  1. +4 −1 README
  2. +3 −0 data/gource.1
  3. +1 −1 src/core
  4. +2 −1 src/gource_settings.cpp
  5. +1 −1 src/main.cpp
View
5 README
@@ -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
View
3 data/gource.1
@@ -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
2 src/core
@@ -1 +1 @@
-Subproject commit ea4c22b14d0c479fc7ce409b6a84f5a3b8a1ff9a
+Subproject commit 65f3f93590581bfcc06eac1b4481aa26dbca16b2
View
3 src/gource_settings.cpp
@@ -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");
View
2 src/main.cpp
@@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
}
//enable vsync
- display.enableVsync(true);
+ display.enableVsync(gGourceSettings.vsync);
try {

0 comments on commit 5f20ec3

Please sign in to comment.