summaryrefslogtreecommitdiff
path: root/src/render/shaders/shadersmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
commita6d18b282ab916c6536dc25516affeb9200043b6 (patch)
tree9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/render/shaders/shadersmanager.cpp
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadmanaverse-s20181102.tar.gz
manaverse-s20181102.tar.bz2
manaverse-s20181102.tar.xz
manaverse-s20181102.zip
Fix code style.s20181102
Diffstat (limited to 'src/render/shaders/shadersmanager.cpp')
-rw-r--r--src/render/shaders/shadersmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/shaders/shadersmanager.cpp b/src/render/shaders/shadersmanager.cpp
index 86ede490e..5ec7b9680 100644
--- a/src/render/shaders/shadersmanager.cpp
+++ b/src/render/shaders/shadersmanager.cpp
@@ -86,7 +86,7 @@ ShaderProgram *ShadersManager::createProgram(const std::string &vertex,
}
GLuint programId = mglCreateProgram();
- if (programId == 0u)
+ if (programId == 0U)
{
vertexShader->decRef();
fragmentShader->decRef();