diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
commit | a6d18b282ab916c6536dc25516affeb9200043b6 (patch) | |
tree | 9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/render/normalopenglgraphics.cpp | |
parent | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff) | |
download | manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2 manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz manaverse-a6d18b282ab916c6536dc25516affeb9200043b6.zip |
Fix code style.s20181102
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index 20b39cd99..edaeb17cb 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -416,10 +416,10 @@ void NormalOpenGLGraphics::testDraw() restrict2 { GLfloat tex[] = { - 0.0f, 0.781250f, - 0.0f, 0.781250f, - 0.0f, 0.585938f, - 0.0f, 0.585938f + 0.0F, 0.781250f, + 0.0F, 0.781250f, + 0.0F, 0.585938f, + 0.0F, 0.585938f }; GLint vert[] = @@ -631,7 +631,7 @@ void NormalOpenGLGraphics::drawPatternCached(const Image *restrict const image, void NormalOpenGLGraphics::completeCache() restrict2 { - if (mImageCached == 0u) + if (mImageCached == 0U) return; setColorAlpha(mAlphaCached); |