MCPcopy Create free account
hub / github.com/comaps/comaps / Fail

Method Fail

libs/drape/static_texture.cpp:157–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void StaticTexture::Fail(ref_ptr<dp::GraphicsContext> context)
158{
159 int32_t alphaTexture = 0;
160 Texture::Params p;
161 p.m_allocator = GetDefaultAllocator(context);
162 p.m_format = dp::TextureFormat::RGBA8;
163 p.m_width = 1;
164 p.m_height = 1;
165 Create(context, p, make_ref(&alphaTexture));
166}
167} // namespace dp

Callers

nothing calls this directly

Calls 3

GetDefaultAllocatorFunction · 0.85
CreateFunction · 0.85
make_refFunction · 0.85

Tested by

no test coverage detected