diff options
Diffstat (limited to 'chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp')
-rw-r--r-- | chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp b/chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp index 392c2bc97d8..bae97a780c0 100644 --- a/chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp +++ b/chromium/third_party/skia/src/gpu/gl/win/SkNativeGLContext_win.cpp @@ -86,7 +86,8 @@ const GrGLInterface* SkNativeGLContext::createGLContext() { return NULL; } - if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, true))) { + // Requesting a Core profile would bar us from using NVPR. So we pass false. + if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false))) { SkDebugf("Could not create rendering context.\n"); this->destroyGLContext(); return NULL; |