Don't discard the backbuffer depth/stencil in setCanvas.

#1893.
This commit is contained in:
Sasha Szpakowski
2023-01-11 08:58:12 -04:00
parent 8572d4f935
commit 249d90067e
4 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ private:
void initCapabilities() override;
void getAPIStats(int &shaderswitches) const override;
void endPass();
void endPass(bool presenting);
id<MTLDepthStencilState> getCachedDepthStencilState(const DepthState &depth, const StencilState &stencil);
void applyRenderState(id<MTLRenderCommandEncoder> renderEncoder, const VertexAttributes &attributes);