From c012115e6833de3cc9e45cbba002277158a5367e Mon Sep 17 00:00:00 2001 From: Justin Scofield <47263509+scawful@users.noreply.github.com> Date: Sat, 27 Aug 2022 23:27:49 -0500 Subject: [PATCH] chore: uncomment --- src/app/gfx/bitmap.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/gfx/bitmap.h b/src/app/gfx/bitmap.h index d16eb674..25a936c8 100644 --- a/src/app/gfx/bitmap.h +++ b/src/app/gfx/bitmap.h @@ -47,16 +47,10 @@ class Bitmap { private: struct sdl_deleter { void operator()(SDL_Texture *p) const { - // if (p) { - // SDL_DestroyTexture(p); - // p = nullptr; - // } + SDL_DestroyTexture(p); } void operator()(SDL_Surface *p) const { - // if (p) { - // SDL_FreeSurface(p); - // p = nullptr; - // } + SDL_FreeSurface(p); } };