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

Unified Diff: tools/VisualBench/VisualBench.cpp

Issue 1919993002: Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Unit tests Created 4 years, 8 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
Index: tools/VisualBench/VisualBench.cpp
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
index 154c84b6f28c570ccc1190bd555836448e29f450..7f2e90c43fd1bd62f8f5c75a4665c545b36ba90f 100644
--- a/tools/VisualBench/VisualBench.cpp
+++ b/tools/VisualBench/VisualBench.cpp
@@ -106,7 +106,7 @@ void VisualBench::resetContext() {
void VisualBench::setupContext() {
int screenSamples = FLAGS_offscreen ? 0 : FLAGS_msaa;
- if (!this->attach(kNativeGL_BackEndType, screenSamples, &fAttachmentInfo)) {
+ if (!this->attach(kNativeGL_BackEndType, screenSamples, false, &fAttachmentInfo)) {
SkDebugf("Not possible to create backend.\n");
INHERITED::release();
SkFAIL("Could not create backend\n");

Powered by Google App Engine
This is Rietveld 408576698