Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2D/Internals/OpenGLTextProgram.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 92fca2b3ba3d |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/Internals/OpenGLTextProgram.h Mon Sep 21 14:50:26 2020 +0200 +++ b/OrthancStone/Sources/Scene2D/Internals/OpenGLTextProgram.h Mon Sep 21 17:46:39 2020 +0200 @@ -121,13 +121,13 @@ }; private: - OpenGL::IOpenGLContext& context_; + OpenGL::IOpenGLContext& context_; std::unique_ptr<OpenGL::OpenGLProgram> program_; - GLint positionLocation_; - GLint textureLocation_; + GLint positionLocation_; + GLint textureLocation_; public: - OpenGLTextProgram(OpenGL::IOpenGLContext& context); + explicit OpenGLTextProgram(OpenGL::IOpenGLContext& context); void Apply(OpenGL::OpenGLTexture& fontTexture, const Data& data,