Browse Source

neercs: fix typo in render state handling.

master
Sam Hocevar 11 years ago
parent
commit
81b6d454fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      neercs/video/render.cpp

+ 1
- 1
neercs/video/render.cpp View File

@@ -1477,7 +1477,7 @@ void Render::Draw3D()
RenderContext rc; RenderContext rc;
rc.SetBlendFunc(BlendFunc::Disabled, BlendFunc::Disabled); rc.SetBlendFunc(BlendFunc::Disabled, BlendFunc::Disabled);
rc.SetDepthFunc(DepthFunc::Disabled); rc.SetDepthFunc(DepthFunc::Disabled);
rc.SetDepthMask(DepthFunc::Disabled);
rc.SetDepthMask(DepthMask::Disabled);


glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(4, GL_FLOAT, 0, fs_quad_vtx); glVertexPointer(4, GL_FLOAT, 0, fs_quad_vtx);


Loading…
Cancel
Save