mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Use an opaque surface in createRenderTarget()
This commit is contained in:
parent
608c902901
commit
1b12f5ccbd
@ -274,8 +274,9 @@ private:
|
||||
SkSurface::MakeRenderTarget(
|
||||
m_grCtx.get(),
|
||||
SkBudgeted::kYes,
|
||||
SkImageInfo::MakeN32Premul(MAX(1, size.w / scale),
|
||||
MAX(1, size.h / scale)),
|
||||
SkImageInfo::Make(MAX(1, size.w / scale),
|
||||
MAX(1, size.h / scale),
|
||||
kN32_SkColorType, kOpaque_SkAlphaType);
|
||||
m_glCtx->getSampleCount(),
|
||||
nullptr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user