diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/gl/win/SkNativeGLContext_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/win/SkNativeGLContext_win.cpp b/src/gpu/gl/win/SkNativeGLContext_win.cpp index 08061d50c0..17b4e4ad9b 100644 --- a/src/gpu/gl/win/SkNativeGLContext_win.cpp +++ b/src/gpu/gl/win/SkNativeGLContext_win.cpp @@ -88,7 +88,7 @@ const GrGLInterface* SkNativeGLContext::createGLContext() { // We don't want the core profile when using NV path rendering (since // NV path rendering relies on fixed function calls) - if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, + if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, !GR_GL_USE_NV_PATH_RENDERING))) { SkDebugf("Could not create rendering context.\n"); this->destroyGLContext(); |