Add missing #if/endif SK_SUPPORT_GPU

This commit is contained in:
David Capello 2015-10-09 19:48:31 -03:00
parent 324953b2fc
commit 7a00a0bfca

View File

@ -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);
}