summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-04-24 15:37:44 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-04-24 15:43:20 -0700
commit9b313a82378b969d7bd5d5c1a93301239d914583 (patch)
treecf3eb0ee107b740d4d3ad2fa1e0b472f7cd95145 /src/caskbench.cpp
parent5f7b6d11399a4c58b5505713beced6a800ef4df0 (diff)
caskbench: Disable RGBA options for the release
These only appear to affect the fill test, so are of limited utility, and is not the interface we want to be supporting.
Diffstat (limited to 'src/caskbench.cpp')
-rw-r--r--src/caskbench.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 146388b..02913bb 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -254,6 +254,7 @@ process_options(caskbench_options_t *opt, int argc, char *argv[])
{"fill-type", 'f', POPT_ARG_STRING, &opt->fill_type, 0,
"Controls the fill type of the objects draw either solid, gradient, image pattern type",
NULL},
+#if 0
{"red", 'R', POPT_ARG_DOUBLE, &opt->red, 0,
"R Color Value",
NULL},
@@ -266,6 +267,7 @@ process_options(caskbench_options_t *opt, int argc, char *argv[])
{"alpha", 'A', POPT_ARG_DOUBLE, &opt->alpha, 0,
"Transparency value for the solid fill",
NULL},
+#endif
{"animation", 'g', POPT_ARG_INT, &opt->animation, 0,
"Controls the kinematics of the objects drawn",
NULL},
@@ -579,7 +581,7 @@ main (int argc, char *argv[])
srand(0xdeadbeef);
context_init(&context, opt.size);
-//Command line setup for shapes
+ // Command line setup for shapes
context.shape_args.centre_x = opt.x_position;
context.shape_args.centre_y = opt.y_position;
context.shape_args.width = opt.width;