summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index e303c803..b082d0d3 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -54,7 +54,7 @@ class OpenGLGraphics : public Graphics
void drawLine(int x1, int y1, int x2, int y2);
- void _drawRectangle(const gcn::Rectangle &rect, bool filled);
+ void drawRectangle(const gcn::Rectangle &rect, bool filled);
void drawRectangle(const gcn::Rectangle &rect);
@@ -62,6 +62,11 @@ class OpenGLGraphics : public Graphics
void setTargetPlane(int width, int height);
+ protected:
+ void setTexturingAndBlending(bool enable);
+ void drawTexedQuad(int x, int y, int w, int h,
+ float texX1, float texY1, float texX2, float texY2);
+
private:
bool mAlpha, mTexture;
bool mColorAlpha;