diff options
Diffstat (limited to 'src/Decals.cpp')
-rw-r--r-- | src/Decals.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Decals.cpp b/src/Decals.cpp index 7617420..2f82bb2 100644 --- a/src/Decals.cpp +++ b/src/Decals.cpp @@ -371,3 +371,10 @@ void Decals::draw() glDisable(GL_POLYGON_OFFSET_FILL); glDepthFunc(GL_LEQUAL); } + +Decals::~Decals() +{ + const GLuint holes[] {bulletholetextureptr, cratertextureptr}; + glDeleteTextures(2, holes); + glDeleteTextures(11, bloodtextureptr); +} |