diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-13 12:48:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-13 12:48:34 +0300 |
commit | 81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0 (patch) | |
tree | 606ca8634c99dfc6c6e0010e6f716b77bf2e13eb /src/render | |
parent | be74509b31b26e714c6b380e17ed3935ec0b6cf0 (diff) | |
download | manaverse-81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0.tar.gz manaverse-81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0.tar.bz2 manaverse-81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0.tar.xz manaverse-81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0.zip |
Ignore for now "cached" functions in modernopengl.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphics.h | 4 | ||||
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 2b7ce188d..a779ee1bb 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -454,10 +454,10 @@ class Graphics notfinal virtual void postInit() { } - virtual void finalize(ImageCollection *const col) + virtual void finalize(ImageCollection *const col A_UNUSED) { } - virtual void finalize(ImageVertexes *const vert) + virtual void finalize(ImageVertexes *const vert A_UNUSED) { } int mWidth; diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index b2e33cbc9..fd9581285 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -337,14 +337,16 @@ bool ModernOpenGLGraphics::drawImageInline(const Image *const image, return true; } -void ModernOpenGLGraphics::drawImageCached(const Image *const image, - int x, int y) +void ModernOpenGLGraphics::drawImageCached(const Image *const image A_UNUSED, + int A_UNUSED x, int y A_UNUSED) { } -void ModernOpenGLGraphics::drawPatternCached(const Image *const image, - const int x, const int y, - const int w, const int h) +void ModernOpenGLGraphics::drawPatternCached(const Image *const image A_UNUSED, + const int x A_UNUSED, + const int y A_UNUSED, + const int w A_UNUSED, + const int h A_UNUSED) { } |