From 93e4b8849a71be3ebf9e552a27fad8ffc4217a6a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 May 2017 02:14:22 +0300 Subject: Remove one condition form renderers. --- src/render/openglgraphicsdef.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/openglgraphicsdef.hpp') diff --git a/src/render/openglgraphicsdef.hpp b/src/render/openglgraphicsdef.hpp index 48d3ccd25..7a4fd4e1e 100644 --- a/src/render/openglgraphicsdef.hpp +++ b/src/render/openglgraphicsdef.hpp @@ -48,7 +48,9 @@ public: static GLuint mTextureBinded; protected: - void setTexturingAndBlending(const bool enable) restrict2; + void enableTexturingAndBlending() restrict2; + + void disableTexturingAndBlending() restrict2; private: void inline setColorAlpha(const float alpha) restrict2 A_INLINE; -- cgit v1.2.3-60-g2f50