From 55ec282a0b134e6f65c0407b00739884ea4c2272 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 24 Jul 2013 19:43:56 +0000 Subject: [PATCH] ticker: replace linked lists wih dynamic arrays for entity groups. --- neercs/video/render.cpp | 4 ++-- neercs/video/render.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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();