summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-15 02:14:22 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-15 02:14:22 +0300
commit93e4b8849a71be3ebf9e552a27fad8ffc4217a6a (patch)
treec1587ca959e44bb1e340bdaa11761e2a53898208 /src/render/openglgraphicsdef.hpp
parentb2f9877c03a8af2a2c32b3d57470b6e573dc3c6a (diff)
downloadplus-93e4b8849a71be3ebf9e552a27fad8ffc4217a6a.tar.gz
plus-93e4b8849a71be3ebf9e552a27fad8ffc4217a6a.tar.bz2
plus-93e4b8849a71be3ebf9e552a27fad8ffc4217a6a.tar.xz
plus-93e4b8849a71be3ebf9e552a27fad8ffc4217a6a.zip
Remove one condition form renderers.
Diffstat (limited to 'src/render/openglgraphicsdef.hpp')
-rw-r--r--src/render/openglgraphicsdef.hpp4
1 files changed, 3 insertions, 1 deletions
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;