diff options
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); |