diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-25 23:10:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 23:31:02 +0300 |
commit | af86a79f6ac5c11d1986be8a3d549fef03482789 (patch) | |
tree | 897f5ea665c01daf2bf01dbe1abd677bb8b2a68d /src/render/modernopenglgraphics.h | |
parent | 7ee1d89a656c05b62fa3104b59504afed0037b69 (diff) | |
download | plus-af86a79f6ac5c11d1986be8a3d549fef03482789.tar.gz plus-af86a79f6ac5c11d1986be8a3d549fef03482789.tar.bz2 plus-af86a79f6ac5c11d1986be8a3d549fef03482789.tar.xz plus-af86a79f6ac5c11d1986be8a3d549fef03482789.zip |
Add missing checks into render directory.
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r-- | src/render/modernopenglgraphics.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h index 0577f5db2..1f55717a3 100644 --- a/src/render/modernopenglgraphics.h +++ b/src/render/modernopenglgraphics.h @@ -67,7 +67,7 @@ class ModernOpenGLGraphics final : public Graphics void testDraw() override final; void removeArray(const uint32_t id, - uint32_t *const arr) override final; + uint32_t *const arr) override final A_NONNULL(3); void createGLContext() override final; @@ -80,13 +80,11 @@ class ModernOpenGLGraphics final : public Graphics private: void deleteGLObjects(); - inline void drawQuad(const Image *const image, - const int srcX, const int srcY, + inline void drawQuad(const int srcX, const int srcY, const int dstX, const int dstY, const int width, const int height); - inline void drawRescaledQuad(const Image *const image, - const int srcX, const int srcY, + inline void drawRescaledQuad(const int srcX, const int srcY, const int dstX, const int dstY, const int width, const int height, const int desiredWidth, |