@@ -859,7 +859,7 @@ void Render::ShaderSimple(Framebuffer *fbo_output, int n) | |||||
shader_simple->Unbind(); | shader_simple->Unbind(); | ||||
} | } | ||||
int Render::InitDraw(void) | |||||
int Render::InitDrawResources(void) | |||||
{ | { | ||||
glDepthMask(GL_TRUE); // do not write z-buffer | glDepthMask(GL_TRUE); // do not write z-buffer | ||||
@@ -955,7 +955,7 @@ int Render::CreateGLWindow() | |||||
{ | { | ||||
InitShaderVar(); | InitShaderVar(); | ||||
UpdateSize(); | UpdateSize(); | ||||
InitDraw(); | |||||
InitDrawResources(); | |||||
return true; | return true; | ||||
} | } | ||||
@@ -22,7 +22,7 @@ protected: | |||||
private: | private: | ||||
int CreateGLWindow(); | int CreateGLWindow(); | ||||
int InitDraw(); | |||||
int InitDrawResources(); | |||||
void ShaderSimple(Framebuffer *fbo_output, int n); | void ShaderSimple(Framebuffer *fbo_output, int n); | ||||
void TraceQuad(); | void TraceQuad(); | ||||
void Pause(); | void Pause(); | ||||