Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: samplecode/SampleApp.cpp

Issue 24503003: SampleApp - reduce unnecessary verbosity (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebased again Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index f3037944faa348c6159ef52d3548734ace7ae014..f044e70f3d19a02a5248ee7d4c0e6187707de8a2 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -790,6 +790,10 @@ SampleWindow::SampleWindow(void* hwnd, int argc, char** argv, DeviceManager* dev
}
} else if (strcmp(*argv, "--list") == 0) {
listTitles();
+ } else if (strcmp(*argv, "--pictureDir") == 0) {
+ ++argv; // This case is dealt with in registerPictFileSamples().
+ } else if (strcmp(*argv, "--picture") == 0) {
+ ++argv; // This case is dealt with in registerPictFileSample().
}
else {
usage(commandName);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698