summaryrefslogtreecommitdiff
path: root/src/normalopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 20:52:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 20:52:00 +0300
commitb639270b2854e2d069bbff9b888dfeb159f9b400 (patch)
tree07cafe4ccf666a63ded20a0d314004bea4b40f3e /src/normalopenglgraphics.h
parent196cc38da19b867eaa9419343dd6ecd8212af354 (diff)
downloadmanaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.gz
manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.bz2
manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.xz
manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.zip
Fix code style.
Diffstat (limited to 'src/normalopenglgraphics.h')
-rw-r--r--src/normalopenglgraphics.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h
index 57815af38..9101fdaf4 100644
--- a/src/normalopenglgraphics.h
+++ b/src/normalopenglgraphics.h
@@ -100,9 +100,11 @@ class NormalOpenGLGraphics final : public Graphics
void updateScreen() override;
void _beginDraw();
+
void _endDraw();
bool pushClipArea(gcn::Rectangle area);
+
void popClipArea();
void setColor(const gcn::Color &color);
@@ -119,23 +121,23 @@ class NormalOpenGLGraphics final : public Graphics
void setTargetPlane(int width, int height);
- void drawQuadArrayfi(int size);
+ inline void drawQuadArrayfi(int size);
- void drawQuadArrayfi(GLint *intVertArray,
- GLfloat *floatTexArray,
- const int size);
+ inline void drawQuadArrayfi(GLint *intVertArray,
+ GLfloat *floatTexArray,
+ const int size);
- void drawQuadArrayii(int size);
+ inline void drawQuadArrayii(int size);
- void drawQuadArrayii(GLint *intVertArray,
- GLint *intTexArray,
- const int size);
+ inline void drawQuadArrayii(GLint *intVertArray,
+ GLint *intTexArray,
+ const int size);
- void drawLineArrayi(int size);
+ inline void drawLineArrayi(int size);
- void drawLineArrayf(int size);
+ inline void drawLineArrayf(int size);
- void drawVertexes(NormalOpenGLGraphicsVertexes &ogl);
+ inline void drawVertexes(NormalOpenGLGraphicsVertexes &ogl);
void initArrays() override;