aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_graphic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/je_graphic.h')
-rw-r--r--src/libjin/Graphics/je_graphic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/je_graphic.h b/src/libjin/Graphics/je_graphic.h
index fdc328d..91c8b44 100644
--- a/src/libjin/Graphics/je_graphic.h
+++ b/src/libjin/Graphics/je_graphic.h
@@ -60,15 +60,15 @@ namespace JinEngine
///
/// Render graphic single with given coordinates.
///
- void render(int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0);
+ void render(int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const;
///
/// Render part of graphic single with given coordinates.
///
- void render(const Math::Quad& slice, int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0);
+ void render(const Math::Quad& slice, int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const;
protected:
- JinEngine::Math::Vector2<uint> mSize;
+ Math::Vector2<uint> mSize;
private:
GLuint mTexture;