Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 459c2317 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Fix -Wformat compiler warning" into main

parents a0511750 906306ca
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -91,9 +91,9 @@ void logFatalTexture(const char* msg, const GrBackendTexture& tex, ui::Dataspace
    LOG_ALWAYS_FATAL("%s isTextureValid:%d dataspace:%d"
                     "\n\tGrBackendTexture: (%i x %i) hasMipmaps: %i isProtected: %i texType: %i"
                     "\n\t\tGrGLTextureInfo: success: %i fTarget: %u fFormat: %u colorType %i",
                     msg, tex.isValid(), dataspace, tex.width(), tex.height(), tex.hasMipmaps(),
                     tex.isProtected(), static_cast<int>(tex.textureType()), retrievedTextureInfo,
                     textureInfo.fTarget, textureInfo.fFormat, colorType);
                     msg, tex.isValid(), static_cast<int32_t>(dataspace), tex.width(), tex.height(),
                     tex.hasMipmaps(), tex.isProtected(), static_cast<int>(tex.textureType()),
                     retrievedTextureInfo, textureInfo.fTarget, textureInfo.fFormat, colorType);
}

sk_sp<SkImage> AutoBackendTexture::makeImage(ui::Dataspace dataspace, SkAlphaType alphaType,