diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-09-05 15:20:10 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-09-25 12:33:08 +0300 |
commit | d1074729e0d0c63ab887efb866903bc99181f919 (patch) | |
tree | f1d70b92271c7c09eae2293a2b233572730be13c /drape/hw_texture_ios.mm | |
parent | a81f1fc4d1f698a0f0aaaa1e7a29f41516b05d11 (diff) |
[drape][metal] Fixed unit tests, refactored a bit CurrentApiVersion.
Diffstat (limited to 'drape/hw_texture_ios.mm')
-rw-r--r-- | drape/hw_texture_ios.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape/hw_texture_ios.mm b/drape/hw_texture_ios.mm index 914cc31348..17a9526f80 100644 --- a/drape/hw_texture_ios.mm +++ b/drape/hw_texture_ios.mm @@ -151,7 +151,7 @@ void HWTextureApple::Create(ref_ptr<dp::GraphicsContext> context, Params const & m_directBuffer = m_allocator->CVCreatePixelBuffer(m_params.m_width, m_params.m_height, params.m_format); glConst layout, pixelType; - UnpackFormat(params.m_format, layout, pixelType); + UnpackFormat(context, params.m_format, layout, pixelType); m_texture = m_allocator->CVCreateTexture(m_directBuffer, params.m_width, params.m_height, layout, pixelType); |