Merge branch 'topic/metal-sep25' into metal-sep25-merge
This commit is contained in:
@@ -24,11 +24,13 @@ void ImageSourceRenderData::upload(gfx::UploadPass& uploadPass) const {
|
||||
bucket->upload(uploadPass);
|
||||
}
|
||||
|
||||
#if MLN_LEGACY_RENDERER
|
||||
if (!debugTexture) {
|
||||
std::array<uint8_t, 4> data{{0, 0, 0, 0}};
|
||||
static const PremultipliedImage emptyImage{Size(1, 1), data.data(), data.size()};
|
||||
debugTexture = uploadPass.createTexture(emptyImage);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void ImageSourceRenderData::render(PaintParameters& parameters) const {
|
||||
|
||||
Reference in New Issue
Block a user