diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index 95212b6..4c8e8f9 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -859,7 +859,7 @@ void Render::ShaderSimple(Framebuffer *fbo_output, int n) shader_simple->Unbind(); } -int Render::InitDraw(void) +int Render::InitDrawResources(void) { glDepthMask(GL_TRUE); // do not write z-buffer @@ -955,7 +955,7 @@ int Render::CreateGLWindow() { InitShaderVar(); UpdateSize(); - InitDraw(); + InitDrawResources(); return true; } diff --git a/neercs/video/render.h b/neercs/video/render.h index 0bcb2fc..eec0b5e 100644 --- a/neercs/video/render.h +++ b/neercs/video/render.h @@ -22,7 +22,7 @@ protected: private: int CreateGLWindow(); - int InitDraw(); + int InitDrawResources(); void ShaderSimple(Framebuffer *fbo_output, int n); void TraceQuad(); void Pause();