From 81b6d454fb61005f115466db98e9a29ae360064c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 15 Aug 2013 17:31:21 +0000 Subject: [PATCH] neercs: fix typo in render state handling. --- neercs/video/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index fc90b9e..e4b2fc3 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -1477,7 +1477,7 @@ void Render::Draw3D() RenderContext rc; rc.SetBlendFunc(BlendFunc::Disabled, BlendFunc::Disabled); rc.SetDepthFunc(DepthFunc::Disabled); - rc.SetDepthMask(DepthFunc::Disabled); + rc.SetDepthMask(DepthMask::Disabled); glEnableClientState(GL_VERTEX_ARRAY); glVertexPointer(4, GL_FLOAT, 0, fs_quad_vtx);