Disables depth test for GUI rendering.

Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D3835
This was SVN commit r25231.
This commit is contained in:
vladislavbelov
2021-04-11 19:36:52 +00:00
parent e7159c01fb
commit a6cb77a204
4 changed files with 6 additions and 17 deletions
-4
View File
@@ -327,10 +327,6 @@ void CGUI::SendEventToAll(const CStr& eventName, const JS::HandleValueArray& par
void CGUI::Draw()
{
// Clear the depth buffer, so the GUI is
// drawn on top of everything else
glClear(GL_DEPTH_BUFFER_BIT);
using Arena = Allocators::DynamicArena<128 * KiB>;
using ObjectListAllocator = ProxyAllocator<VisibleObject, Arena>;
Arena arena;