diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/views/win/SkOSWindow_win.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -37,3 +37,4 @@ The Chromium Authors <*@chromium.org> Thiago Fransosi Farina <thiago.farina@gmail.com> Jose Mayol <jei.mayol@gmail.com> Linaro <*@linaro.org> +Christian Plesner Hansen <plesner@t.undra.org> diff --git a/src/views/win/SkOSWindow_win.cpp b/src/views/win/SkOSWindow_win.cpp index aba5a6f4ae..4b7abb1e96 100644 --- a/src/views/win/SkOSWindow_win.cpp +++ b/src/views/win/SkOSWindow_win.cpp @@ -692,9 +692,11 @@ bool SkOSWindow::makeFullscreen() { if (fFullscreen) { return true; } +#if SK_SUPPORT_GPU if (fHGLRC) { this->detachGL(); } +#endif // SK_SUPPORT_GPU // This is hacked together from various sources on the web. It can certainly be improved and be // made more robust. |