Skip to content

Commit 8876cd5

Browse files
committed
fix: update method declarations to match base class and resolve errors
1 parent 6357e91 commit 8876cd5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/libprojectM/Renderer/Backend/OpenGL/OpenGLCopyTexture.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class OpenGLCopyTexture : public CopyTexture, public OpenGLRenderItem
1414
{
1515
public:
1616
OpenGLCopyTexture();
17-
~OpenGLCopyTexture() override = default;
17+
~OpenGLCopyTexture() = default;
1818

19-
void InitVertexAttrib() override;
19+
void InitVertexAttrib();
2020

2121
void Draw(const std::shared_ptr<class Texture>& originalTexture,
2222
bool flipVertical = false, bool flipHorizontal = false) override;

src/libprojectM/Renderer/Backend/OpenGL/OpenGLRenderItem.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ class OpenGLRenderItem : public libprojectM::Renderer::RenderItem
1212
{
1313
public:
1414
OpenGLRenderItem();
15-
~OpenGLRenderItem();
15+
virtual ~OpenGLRenderItem();
1616

17-
void InitVertexAttrib();
17+
virtual void InitVertexAttrib();
1818

1919
// Override Init to provide OpenGL-specific initialization
20-
void Init();
20+
virtual void Init();
2121

2222
protected:
2323
GLuint m_vboID{0};

0 commit comments

Comments
 (0)