diff options
-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) { } |