diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-18 18:39:48 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-18 18:39:48 +0000 |
commit | 86441fda9c561dd264039edc68ddabbf7cb54ce2 (patch) | |
tree | f9d15edf9587bc149a42399369bfcf3b9d5c5b27 /src/openglgraphics.h | |
parent | d3ab0ef7be4c1f0098acc08748c308091e75dfff (diff) | |
download | mana-86441fda9c561dd264039edc68ddabbf7cb54ce2.tar.gz mana-86441fda9c561dd264039edc68ddabbf7cb54ce2.tar.bz2 mana-86441fda9c561dd264039edc68ddabbf7cb54ce2.tar.xz mana-86441fda9c561dd264039edc68ddabbf7cb54ce2.zip |
Merged removal of dependency on Guichan OpenGL from trunk to 0.0 branch,
including optimization of OpenGL memory usage on modern OpenGL drivers.
Patches by Guillaume Melquiond.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r-- | src/openglgraphics.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h index c61ae66c..ee5bc1e1 100644 --- a/src/openglgraphics.h +++ b/src/openglgraphics.h @@ -38,7 +38,8 @@ class OpenGLGraphics : public Graphics bool drawImage(Image *image, int srcX, int srcY, int dstX, int dstY, - int width, int height); + int width, int height, + bool useColor); void updateScreen(); @@ -50,11 +51,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 +70,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; |