From 4fe196ed8498c9ec405449fe4af00fc6905b9719 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Fri, 23 Oct 2015 15:48:35 +0300 Subject: [PATCH] Fixed running Drape on iOS simulator --- drape/hw_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();