| 112 | }; |
| 113 | |
| 114 | void InitFramebuffer(ref_ptr<dp::GraphicsContext> context, drape_ptr<dp::Framebuffer> & framebuffer, uint32_t width, |
| 115 | uint32_t height, bool depthEnabled, bool stencilEnabled) |
| 116 | { |
| 117 | if (framebuffer == nullptr) |
| 118 | framebuffer = make_unique_dp<dp::Framebuffer>(dp::TextureFormat::RGBA8, depthEnabled, stencilEnabled); |
| 119 | framebuffer->SetSize(context, width, height); |
| 120 | } |
| 121 | |
| 122 | void InitFramebuffer(ref_ptr<dp::GraphicsContext> context, drape_ptr<dp::Framebuffer> & framebuffer, |
| 123 | dp::TextureFormat colorFormat, ref_ptr<dp::Framebuffer::DepthStencil> depthStencilRef, |
no test coverage detected