diff options
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r-- | vcl/inc/opengl/FixedTextureAtlas.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/opengl/LineRenderUtils.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/opengl/PackedTextureAtlas.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/opengl/texture.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/opengl/watchdog.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/opengl/zone.hxx | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/vcl/inc/opengl/FixedTextureAtlas.hxx b/vcl/inc/opengl/FixedTextureAtlas.hxx index 5d4eff4d0804..c273a5e36c0c 100644 --- a/vcl/inc/opengl/FixedTextureAtlas.hxx +++ b/vcl/inc/opengl/FixedTextureAtlas.hxx @@ -20,9 +20,9 @@ class VCL_PLUGIN_PUBLIC FixedTextureAtlasManager { std::vector<std::unique_ptr<FixedTexture>> maFixedTextures; - int mWidthFactor; - int mHeightFactor; - int mSubTextureSize; + int const mWidthFactor; + int const mHeightFactor; + int const mSubTextureSize; void CreateNewTexture(); diff --git a/vcl/inc/opengl/LineRenderUtils.hxx b/vcl/inc/opengl/LineRenderUtils.hxx index eec665f68edb..4ffeae25dd0a 100644 --- a/vcl/inc/opengl/LineRenderUtils.hxx +++ b/vcl/inc/opengl/LineRenderUtils.hxx @@ -22,9 +22,9 @@ private: std::vector<Vertex>& mrVertices; std::vector<GLuint>& mrIndices; GLubyte mR, mG, mB, mA; - GLfloat mfLineWidth; - GLfloat mfLineWidthAndAA; - size_t mnInitialIndexSize; + GLfloat const mfLineWidth; + GLfloat const mfLineWidthAndAA; + size_t const mnInitialIndexSize; bool mbIncomplete; public: diff --git a/vcl/inc/opengl/PackedTextureAtlas.hxx b/vcl/inc/opengl/PackedTextureAtlas.hxx index cbe865a4d5a9..8e6def84c9e4 100644 --- a/vcl/inc/opengl/PackedTextureAtlas.hxx +++ b/vcl/inc/opengl/PackedTextureAtlas.hxx @@ -30,8 +30,8 @@ class VCL_PLUGIN_PUBLIC PackedTextureAtlasManager { std::vector<std::unique_ptr<PackedTexture>> maPackedTextures; - int mnTextureWidth; - int mnTextureHeight; + int const mnTextureWidth; + int const mnTextureHeight; void CreateNewTexture(); diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx index 470d2c4e343e..98bd79977ff4 100644 --- a/vcl/inc/opengl/texture.hxx +++ b/vcl/inc/opengl/texture.hxx @@ -35,7 +35,7 @@ class ImplOpenGLTexture public: GLuint mnTexture; int mnWidth; - int mnHeight; + int const mnHeight; GLenum mnFilter; GLuint mnOptStencil; diff --git a/vcl/inc/opengl/watchdog.hxx b/vcl/inc/opengl/watchdog.hxx index cbf7e04958ae..d37066e80e0c 100644 --- a/vcl/inc/opengl/watchdog.hxx +++ b/vcl/inc/opengl/watchdog.hxx @@ -20,7 +20,7 @@ struct WatchdogTimingsValues { /// delays to take various actions in 1/4 of a second increments. int mnDisableEntries; - int mnAbortAfter; + int const mnAbortAfter; }; enum class WatchdogTimingMode diff --git a/vcl/inc/opengl/zone.hxx b/vcl/inc/opengl/zone.hxx index 75ebad915b60..50fd04598193 100644 --- a/vcl/inc/opengl/zone.hxx +++ b/vcl/inc/opengl/zone.hxx @@ -43,7 +43,7 @@ public: /// Create this to not only enter the zone, but set VCL context. class OpenGLVCLContextZone { - OpenGLZone aZone; + OpenGLZone const aZone; public: OpenGLVCLContextZone(); }; |