diff options
author | Noel <noelgrandin@gmail.com> | 2020-12-13 20:32:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-14 07:47:16 +0100 |
commit | b34234272273063b7158dff2c4086c67c4a1ec47 (patch) | |
tree | 95a23d07401699f636dc13683b105d326cd379a2 /include/vcl/opengl | |
parent | ed07eff77df5af3b214a3791b4455a743ca35853 (diff) |
loplugin:unusedfields
Change-Id: Ib04b32654f005a879d52b880bc3787bbbab09372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107659
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 28884945a3a8..313ec74d28b2 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -38,15 +38,6 @@ struct VCL_DLLPUBLIC GLWindow virtual ~GLWindow(); }; -struct VCL_DLLPUBLIC OpenGLCapabilitySwitch -{ - bool mbLimitedShaderRegisters; - - OpenGLCapabilitySwitch() - : mbLimitedShaderRegisters(false) - {} -}; - class VCL_DLLPUBLIC OpenGLContext { friend class OpenGLTests; @@ -73,11 +64,6 @@ public: void ReleaseFramebuffers(); - OpenGLCapabilitySwitch& getOpenGLCapabilitySwitch() - { - return maOpenGLCapabilitySwitch; - } - /// Is this GL context the current context ? virtual bool isCurrent(); /// Is any GL context the current context ? @@ -134,8 +120,6 @@ protected: int mnRefCount; bool mbRequestLegacyContext; - OpenGLCapabilitySwitch maOpenGLCapabilitySwitch; - public: vcl::Region maClipRegion; |