| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index ddc52cc378196c77fcf852090dd935df4a3a2520..77e06ee79a3337c7ea8edec32bb76df0d5d42b95 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -402,10 +402,11 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
|
|
| // initFSAASupport() must have been called before this point
|
| if (GrGLCaps::kES_IMG_MsToTexture_MSFBOType == fMSFBOType) {
|
| - GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES_IMG, &fMaxSampleCount);
|
| + GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES_IMG, &fMaxColorSampleCount);
|
| } else if (GrGLCaps::kNone_MSFBOType != fMSFBOType) {
|
| - GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES, &fMaxSampleCount);
|
| + GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES, &fMaxColorSampleCount);
|
| }
|
| + fMaxStencilSampleCount = fMaxColorSampleCount;
|
|
|
| if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() ||
|
| kPowerVRRogue_GrGLRenderer == ctxInfo.renderer() ||
|
|
|