mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user