| Index: src/gpu/gl/win/SkNativeGLContext_win.cpp
|
| ===================================================================
|
| --- src/gpu/gl/win/SkNativeGLContext_win.cpp (revision 12953)
|
| +++ src/gpu/gl/win/SkNativeGLContext_win.cpp (working copy)
|
| @@ -86,7 +86,10 @@
|
| return NULL;
|
| }
|
|
|
| - if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, true))) {
|
| + // 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,
|
| + !GR_GL_USE_NV_PATH_RENDERING))) {
|
| SkDebugf("Could not create rendering context.\n");
|
| this->destroyGLContext();
|
| return NULL;
|
|
|