diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp index 42a8992d4d..f37356454a 100644 --- a/src/gpu/gl/GrGLGpu.cpp +++ b/src/gpu/gl/GrGLGpu.cpp @@ -2858,6 +2858,8 @@ void GrGLGpu::generateMipmaps(const GrSamplerState& params, GrGLTexture* texture return; } + SkASSERT(texture->texturePriv().mipMapped() == GrMipMapped::kYes); + // If the mips aren't dirty, we're done: if (!texture->texturePriv().mipMapsAreDirty()) { return; |