1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Code cleanup: remove commented code in BufferedDrawer

This commit is contained in:
Sergey Lipskiy 2017-02-07 10:55:35 +07:00
parent ca7da5418e
commit 0732b207a6
2 changed files with 0 additions and 21 deletions

View File

@ -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)));
}

View File

@ -76,26 +76,6 @@ namespace opengl {
typedef std::unordered_map<u32, u32> 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;
};