From 81d2b31c5d8e8fb22e9b0635c003127e07c3e3f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Jun 2014 12:48:34 +0300 Subject: Ignore for now "cached" functions in modernopengl. --- src/render/graphics.h | 4 ++-- 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) { } -- cgit v1.2.3-70-g09d2