22 #ifndef RENDER_VERTEXES_OPENGLGRAPHICSVERTEXES_H
23 #define RENDER_VERTEXES_OPENGLGRAPHICSVERTEXES_H
33 #define GL_GLEXT_PROTOTYPES 1
36 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
39 PRAGMA45(GCC diagnostic ignored "-Wredundant-decls")
40 #define GL_GLEXT_LEGACY
41 #include <SDL_opengl.h>
48 class OpenGLGraphicsVertexes
final
51 OpenGLGraphicsVertexes();
55 ~OpenGLGraphicsVertexes();
63 GLshort *switchShortVertArray()
restrict2;
66 {
return &mFloatTexPool; }
69 {
return &mIntVertPool; }
72 {
return &mShortVertPool; }
75 {
return &mIntTexPool; }
100 GLfloat *mFloatTexArray;
102 GLint *mIntVertArray;
103 GLshort *mShortVertArray;
105 STD_VECTOR<GLfloat*> mFloatTexPool;
106 STD_VECTOR<GLint*> mIntVertPool;
107 STD_VECTOR<GLshort*> mShortVertPool;
108 STD_VECTOR<GLint*> mIntTexPool;
109 STD_VECTOR<GLuint> mVbo;
#define A_DELETE_COPY(func)
unsigned int vertexBufSize
PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wredundant-decls") PRAGMA45(GCC diagnostic pop) class OpenGLGraphicsVertexes