diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h index edf1f8d..0a83888 100644 --- a/ui/gl/gl_image.h +++ b/ui/gl/gl_image.h @@ -34,7 +34,7 @@ public: } } - [[nodiscard]] void bind(QOpenGLFunctions &f, int index) const { + void bind(QOpenGLFunctions &f, int index) const { Expects(index >= 0 && index < Count); f.glBindTexture(GL_TEXTURE_2D, _values[index]);