From a6d18b282ab916c6536dc25516affeb9200043b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Oct 2018 02:02:04 +0300 Subject: Fix code style. --- src/resources/image/image.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/image/image.cpp') diff --git a/src/resources/image/image.cpp b/src/resources/image/image.cpp index 92cdbee43..69f6da98c 100644 --- a/src/resources/image/image.cpp +++ b/src/resources/image/image.cpp @@ -196,7 +196,7 @@ Image::Image(const GLuint glimage, const int width, const int height, mBounds.w = CAST_U16(width); mBounds.h = CAST_U16(height); - if (mGLImage != 0u) + if (mGLImage != 0U) { mLoaded = true; } @@ -249,7 +249,7 @@ void Image::unload() #endif // USE_SDL2 #ifdef USE_OPENGL - if (mGLImage != 0u) + if (mGLImage != 0U) { glDeleteTextures(1, &mGLImage); mGLImage = 0; @@ -521,7 +521,7 @@ int Image::calcMemoryLocal() const #ifdef USE_OPENGL void Image::decRef() { - if ((mGLImage != 0u) && mRefCount <= 1) + if ((mGLImage != 0U) && mRefCount <= 1) OpenGLImageHelper::invalidate(mGLImage); Resource::decRef(); } -- cgit v1.2.3-70-g09d2