| 155 | } |
| 156 | |
| 157 | void 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 |
nothing calls this directly
no test coverage detected