mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Add missing #if/endif SK_SUPPORT_GPU
This commit is contained in:
parent
324953b2fc
commit
7a00a0bfca
@ -246,8 +246,10 @@ void SkiaWindow::resizeImpl(const gfx::Size& size)
|
||||
m_backend = Backend::NONE;
|
||||
}
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
if (m_glCtx)
|
||||
createRenderTarget(size);
|
||||
#endif
|
||||
|
||||
m_display->resize(size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user