| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index 5ae116cef848e244c6154a222a1c83a4e43037a6..4cf2ca14b5b13a03c3abd2208b8146ce045e7680 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -2043,17 +2043,9 @@ void GrGLGpu::setColocatedSampleLocations(GrRenderTarget* rt, bool useColocatedS
|
| return;
|
| }
|
|
|
| - if (kGL_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(4,5)) {
|
| - GL_CALL(NamedFramebufferParameteri(target->renderFBOID(),
|
| - GR_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS,
|
| - useColocatedSampleLocations));
|
| - } else {
|
| - GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, target->renderFBOID()));
|
| - GL_CALL(FramebufferParameteri(GR_GL_FRAMEBUFFER,
|
| - GR_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS,
|
| - useColocatedSampleLocations));
|
| - fHWBoundRenderTargetUniqueID = SK_InvalidUniqueID;
|
| - }
|
| + GL_CALL(NamedFramebufferParameteri(target->renderFBOID(),
|
| + GR_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS,
|
| + useColocatedSampleLocations));
|
|
|
| target->flagAsUsingColocatedSampleLocations(useColocatedSampleLocations);
|
| }
|
|
|