Kaydet (Commit) 45566e7c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

loplugin:unreffun and loplugin:externandnotdefined

Change-Id: I69f11aa5dd81834aa916a66437d8c091cdf245f3
üst 3d17a408
...@@ -1072,7 +1072,9 @@ public: ...@@ -1072,7 +1072,9 @@ public:
virtual void scroll(long nDelta) override; virtual void scroll(long nDelta) override;
virtual void contextDestroyed() override; virtual void contextDestroyed() override;
#if HAVE_FEATURE_OPENGL
const OpenGLWindow* getOpenGLWindow() const; const OpenGLWindow* getOpenGLWindow() const;
#endif
void updateOpenGLWindow(); void updateOpenGLWindow();
private: private:
ChartView* mpView; ChartView* mpView;
...@@ -1120,11 +1122,15 @@ void GL2DRenderer::contextDestroyed() ...@@ -1120,11 +1122,15 @@ void GL2DRenderer::contextDestroyed()
mbContextDestroyed = true; mbContextDestroyed = true;
} }
#if HAVE_FEATURE_OPENGL
const OpenGLWindow* GL2DRenderer::getOpenGLWindow() const const OpenGLWindow* GL2DRenderer::getOpenGLWindow() const
{ {
return mpWindow; return mpWindow;
} }
#endif
void GL2DRenderer::updateOpenGLWindow() void GL2DRenderer::updateOpenGLWindow()
{ {
if(mbContextDestroyed) if(mbContextDestroyed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment