Fix custom GUI material writing depth when it's not needed

#3294
This commit is contained in:
Wojtek Figat
2025-03-18 10:57:12 +01:00
parent e25efa8c6f
commit 68967de1f5
4 changed files with 15 additions and 18 deletions

View File

@@ -55,6 +55,7 @@ API_CLASS(Static) class FLAXENGINE_API Render2D
{
Matrix ViewProjection;
Float2 ViewSize;
bool UseDepthBuffer;
};
public: