| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index 2e325d486b1eb97b1cc62b6d0279a4f8313de572..0d1ea8e041d1f7b84fef8e5ca5d40c624706e194 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -2020,14 +2020,12 @@ void GrGpuGL::bindTexture(int unitIdx, const GrTextureParams& params, GrGLTextur
|
| newTexParams.fMinFilter = glMinFilterModes[params.filterMode()];
|
| newTexParams.fMagFilter = glMagFilterModes[params.filterMode()];
|
|
|
| -#ifndef SKIA_IGNORE_GPU_MIPMAPS
|
| if (params.filterMode() == GrTextureParams::kMipMap_FilterMode &&
|
| texture->mipMapsAreDirty()) {
|
| // GL_CALL(Hint(GR_GL_GENERATE_MIPMAP_HINT,GR_GL_NICEST));
|
| GL_CALL(GenerateMipmap(GR_GL_TEXTURE_2D));
|
| texture->dirtyMipMaps(false);
|
| }
|
| -#endif
|
|
|
| newTexParams.fWrapS = tile_to_gl_wrap(params.getTileModeX());
|
| newTexParams.fWrapT = tile_to_gl_wrap(params.getTileModeY());
|
|
|