Index: tools/VisualBench.cpp |
diff --git a/tools/VisualBench.cpp b/tools/VisualBench.cpp |
index 5cd1ebd57a62e58774e8d1f011583002da96dc10..58b628a2cb5adbdcd7da9c3804cc63eb791386f5 100644 |
--- a/tools/VisualBench.cpp |
+++ b/tools/VisualBench.cpp |
@@ -101,7 +101,9 @@ bool VisualBench::setupBackend() { |
this->setVisibleP(true); |
this->setClipToBounds(false); |
- this->setFullscreen(true); |
+ if (!this->makeFullscreen()) { |
+ SkDebugf("Could not go fullscreen!"); |
+ } |
if (!this->attach(kNativeGL_BackEndType, FLAGS_msaa, &fAttachmentInfo)) { |
SkDebugf("Not possible to create backend.\n"); |
INHERITED::detach(); |