From bfeb85425bbbc32d653a3b68e49b1c52be588eeb Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Tue, 23 Apr 2019 14:13:01 +0300 Subject: [drape] Do not generate POI shape with invalid symbol --- drape/render_state.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drape/render_state.cpp') diff --git a/drape/render_state.cpp b/drape/render_state.cpp index c02cb814d1..b4c0081627 100644 --- a/drape/render_state.cpp +++ b/drape/render_state.cpp @@ -236,6 +236,8 @@ void TextureState::ApplyTextures(ref_ptr context, RenderState c { auto const it = bindings.find(texture.first); CHECK(it != bindings.end(), ("Texture bindings inconsistency.")); + CHECK(texture.second != nullptr, ("Texture must be set for Vulkan rendering", + texture.first, p->GetName())); ref_ptr t = texture.second->GetHardwareTexture(); if (t == nullptr) -- cgit v1.2.3