Index: tools/VisualBench.cpp |
diff --git a/tools/VisualBench.cpp b/tools/VisualBench.cpp |
index c0343d715f4f3614d7b1607a24995d8fa4aa1872..5cd1ebd57a62e58774e8d1f011583002da96dc10 100644 |
--- a/tools/VisualBench.cpp |
+++ b/tools/VisualBench.cpp |
@@ -101,13 +101,13 @@ bool VisualBench::setupBackend() { |
this->setVisibleP(true); |
this->setClipToBounds(false); |
+ this->setFullscreen(true); |
if (!this->attach(kNativeGL_BackEndType, FLAGS_msaa, &fAttachmentInfo)) { |
SkDebugf("Not possible to create backend.\n"); |
INHERITED::detach(); |
return false; |
} |
- this->setFullscreen(true); |
this->setVsync(false); |
this->resetContext(); |
return true; |