summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index 73346d08c..55740ac98 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -87,6 +87,14 @@ class OpenGLGraphicsVertexes
void switchVp(int n);
+ GLfloat *continueFloatTexArray();
+
+ GLint *continueIntVertArray();
+
+ GLint *continueIntTexArray();
+
+ int continueVp();
+
std::vector<int> *getVp()
{ return &mVp; }
@@ -110,7 +118,9 @@ typedef std::vector<DoubleRect*> DoubleRects;
class ImageVertexes
{
public:
- ImageVertexes() : image(0)
+ ImageVertexes() :
+ image(0),
+ ogl(new OpenGLGraphicsVertexes())
{ }
~ImageVertexes();
@@ -119,7 +129,7 @@ class ImageVertexes
DoubleRects sdl;
#ifdef USE_OPENGL
- std::vector<OpenGLGraphicsVertexes*> ogl;
+ OpenGLGraphicsVertexes *ogl;
#endif
};