diff --git a/drape/hw_texture.cpp b/drape/hw_texture.cpp index 37ee4980fc..5e6f09bef7 100644 --- a/drape/hw_texture.cpp +++ b/drape/hw_texture.cpp @@ -173,7 +173,7 @@ drape_ptr OpenGLHWTextureAllocator::CreateTexture() drape_ptr CreateAllocator() { -#if defined(OMIM_OS_IPHONE) +#if defined(OMIM_OS_IPHONE) && !defined(OMIM_OS_IPHONE_SIMULATOR) return make_unique_dp(); #else return make_unique_dp();