Chromium Code Reviews| Index: src/gpu/gl/GrGLCaps.cpp |
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
| index 4d856ac9320d9b1b58e5a3e9f0d1d8b1eb4583d9..75ae77687975c595f879d01446b6bce8b8e7ac60 100644 |
| --- a/src/gpu/gl/GrGLCaps.cpp |
| +++ b/src/gpu/gl/GrGLCaps.cpp |
| @@ -463,8 +463,6 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, |
| if (ctxInfo.hasExtension("GL_EXT_window_rectangles")) { |
| GR_GL_GetIntegerv(gli, GR_GL_MAX_WINDOW_RECTANGLES, &fMaxWindowRectangles); |
|
Mark Kilgard
2016/08/17 17:59:17
I actually think protecting yourself from a large
|
| - // Protect ourselves against tracking huge amounts of window rectangle state. |
| - fMaxWindowRectangles = SkTMin(31, fMaxWindowRectangles); |
| } |
| if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() || |