summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-25 16:56:52 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-25 16:56:52 +0000
commit14c82e5b5d5547bcf9c3b06c68cf20a100600d0b (patch)
treea46770e8dc29a541eff9480c0e5c132336666b48 /src/openglgraphics.h
parent06ea0c8cf1986460d3c74cddd02a714fb6c26bca (diff)
downloadmana-client-14c82e5b5d5547bcf9c3b06c68cf20a100600d0b.tar.gz
mana-client-14c82e5b5d5547bcf9c3b06c68cf20a100600d0b.tar.bz2
mana-client-14c82e5b5d5547bcf9c3b06c68cf20a100600d0b.tar.xz
mana-client-14c82e5b5d5547bcf9c3b06c68cf20a100600d0b.zip
Removed dependency on Guichan's OpenGL library. Taken over image loading and handling. Reduced memory usage when using OpenGL. (Up to 95% reduction for some textures.)
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index c61ae66c..36e6efcd 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -50,11 +50,6 @@ class OpenGLGraphics : public Graphics
void setColor(const gcn::Color &color);
- void drawImage(const gcn::Image* image,
- int srcX, int srcY,
- int dstX, int dstY,
- int width, int height);
-
void drawPoint(int x, int y);
void drawLine(int x1, int y1, int x2, int y2);
@@ -74,8 +69,6 @@ class OpenGLGraphics : public Graphics
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;