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);