diff --git a/src/Graphics/OpenGLContext/opengl_BufferedDrawer.cpp b/src/Graphics/OpenGLContext/opengl_BufferedDrawer.cpp index abadbd0c..b51b424d 100644 --- a/src/Graphics/OpenGLContext/opengl_BufferedDrawer.cpp +++ b/src/Graphics/OpenGLContext/opengl_BufferedDrawer.cpp @@ -39,7 +39,6 @@ BufferedDrawer::BufferedDrawer(const GLInfo & _glinfo, CachedVertexAttribArray * glVertexAttribPointer(triangleAttrib::position, 4, GL_FLOAT, GL_FALSE, sizeof(Vertex), (const GLvoid *)(offsetof(Vertex, x))); glVertexAttribPointer(triangleAttrib::color, 4, GL_FLOAT, GL_FALSE, sizeof(Vertex), (const GLvoid *)(offsetof(Vertex, r))); glVertexAttribPointer(triangleAttrib::texcoord, 2, GL_FLOAT, GL_FALSE, sizeof(Vertex), (const GLvoid *)(offsetof(Vertex, s))); - //glVertexAttribPointer(SC_NUMLIGHTS, 1, GL_BYTE, GL_FALSE, sizeof(Vertex), (const GLvoid *)(offsetof(Vertex, HWLight))); glVertexAttribPointer(triangleAttrib::modify, 4, GL_BYTE, GL_TRUE, sizeof(Vertex), (const GLvoid *)(offsetof(Vertex, modify))); } diff --git a/src/Graphics/OpenGLContext/opengl_BufferedDrawer.h b/src/Graphics/OpenGLContext/opengl_BufferedDrawer.h index 07444c98..75e6b36a 100644 --- a/src/Graphics/OpenGLContext/opengl_BufferedDrawer.h +++ b/src/Graphics/OpenGLContext/opengl_BufferedDrawer.h @@ -76,26 +76,6 @@ namespace opengl { typedef std::unordered_map BufferOffsets; BufferOffsets m_rectBufferOffsets; - /* - GLuint m_vao; - - - enum { - TRI_VBO = 0, - RECT_VBO, - IBO, - BO_COUNT - }; - GLuint m_bufObj[BO_COUNT]; - GLenum m_bufType[BO_COUNT]; - char* m_bufData[BO_COUNT]; - u32 m_bufOffset[BO_COUNT]; - u32 m_bufFormatSize[BO_COUNT]; - u32 m_bufMaxSize; - GLbitfield m_bufAccess; - GLbitfield m_bufMapAccess; - */ - static const u32 m_bufMaxSize; };