diff --git a/plugins/GSdx/GSDeviceOGL.h b/plugins/GSdx/GSDeviceOGL.h index 544d333697..2199bd1d22 100644 --- a/plugins/GSdx/GSDeviceOGL.h +++ b/plugins/GSdx/GSDeviceOGL.h @@ -114,7 +114,7 @@ public: bool IsMaskEnable() { return m_depth_mask != GL_FALSE; } }; -class GSDeviceOGL : public GSDevice +class GSDeviceOGL final : public GSDevice { public: __aligned(struct, 32) VSConstantBuffer diff --git a/plugins/GSdx/GSRendererOGL.h b/plugins/GSdx/GSRendererOGL.h index bdac32557f..dd6c7eab60 100644 --- a/plugins/GSdx/GSRendererOGL.h +++ b/plugins/GSdx/GSRendererOGL.h @@ -27,7 +27,7 @@ #include "GSTextureCacheOGL.h" #include "GSVertexHW.h" -class GSRendererOGL : public GSRendererHW +class GSRendererOGL final : public GSRendererHW { enum PRIM_OVERLAP { PRIM_OVERLAP_UNKNOW, diff --git a/plugins/GSdx/GSTextureCacheOGL.h b/plugins/GSdx/GSTextureCacheOGL.h index f3f1216ae0..840826a39b 100644 --- a/plugins/GSdx/GSTextureCacheOGL.h +++ b/plugins/GSdx/GSTextureCacheOGL.h @@ -25,7 +25,7 @@ #include "GSTextureCache.h" #include "GSDeviceOGL.h" -class GSTextureCacheOGL : public GSTextureCache +class GSTextureCacheOGL final : public GSTextureCache { protected: int Get8bitFormat() { return GL_R8;} diff --git a/plugins/GSdx/GSTextureOGL.h b/plugins/GSdx/GSTextureOGL.h index 1c739d892b..def7ce16d7 100644 --- a/plugins/GSdx/GSTextureOGL.h +++ b/plugins/GSdx/GSTextureOGL.h @@ -38,7 +38,7 @@ namespace PboPool { void Destroy(); } -class GSTextureOGL : public GSTexture +class GSTextureOGL final : public GSTexture { private: GLuint m_texture_id; // the texture id diff --git a/plugins/GSdx/GSWndOGL.h b/plugins/GSdx/GSWndOGL.h index 95f7575a64..7f71c049ab 100644 --- a/plugins/GSdx/GSWndOGL.h +++ b/plugins/GSdx/GSWndOGL.h @@ -25,7 +25,7 @@ #include #include -class GSWndOGL : public GSWndGL +class GSWndOGL final : public GSWndGL { Window m_NativeWindow; Display* m_NativeDisplay;