Skip to content

Commit

Permalink
Fix a few compiler warnings about inconsistent 'override' use
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mott committed Oct 6, 2021
1 parent 6570ea1 commit 4f3dbca
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions libs/RGBAImage.h
Expand Up @@ -51,7 +51,7 @@ class RGBAImage :
GLenum getGLFormat() const override { return GL_RGBA; }

/* BindableTexture implementation */
TexturePtr bindTexture(const std::string& name, Role role) const
TexturePtr bindTexture(const std::string& name, Role role) const override
{
GLuint textureNum;

Expand Down Expand Up @@ -102,7 +102,7 @@ class RGBAImage :
return tex2DObject;
}

bool isPrecompressed() const
bool isPrecompressed() const override
{
return false; // not compressed
}
Expand Down

0 comments on commit 4f3dbca

Please sign in to comment.