aboutsummaryrefslogtreecommitdiffstats
path: root/src/spritebatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spritebatch.cpp')
-rw-r--r--src/spritebatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spritebatch.cpp b/src/spritebatch.cpp
index 8e64aa5e..f4767829 100644
--- a/src/spritebatch.cpp
+++ b/src/spritebatch.cpp
@@ -28,7 +28,7 @@ Glyph::Glyph(GLuint texture, float depth, const Vertex& top_left,
RenderBatch::RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture)
: num_vertices_(num_vertices), offset_(offset), texture_(texture) {}
-SpriteBatch::SpriteBatch() {}
+SpriteBatch::SpriteBatch() = default;
SpriteBatch::~SpriteBatch() {
if (vao_ != 0) glDeleteVertexArrays(1, &vao_);