diff options
author | jvanverth <jvanverth@google.com> | 2016-07-27 14:29:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-27 14:29:18 -0700 |
commit | b8794ccea2163c780760b6e0f7ebd022f2c85d33 (patch) | |
tree | 5517f85728d014a2a13602fbd13f971c07c32f55 /tools/viewer/sk_app/win/GLWindowContext_win.cpp | |
parent | fe8f0e0d3126d27fe9fdd5bc4804392492f14e51 (diff) |
Enable backend switching for Windows Viewer
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2184163003
Review-Url: https://codereview.chromium.org/2184163003
Diffstat (limited to 'tools/viewer/sk_app/win/GLWindowContext_win.cpp')
-rw-r--r-- | tools/viewer/sk_app/win/GLWindowContext_win.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/viewer/sk_app/win/GLWindowContext_win.cpp b/tools/viewer/sk_app/win/GLWindowContext_win.cpp index eca8829d3d..bf1ddb9f3b 100644 --- a/tools/viewer/sk_app/win/GLWindowContext_win.cpp +++ b/tools/viewer/sk_app/win/GLWindowContext_win.cpp @@ -96,7 +96,6 @@ void GLWindowContext_win::onInitializeContext() { void GLWindowContext_win::onDestroyContext() { - wglMakeCurrent(wglGetCurrentDC(), NULL); wglDeleteContext(fHGLRC); fHGLRC = NULL; } |