chore: uncomment

This commit is contained in:
Justin Scofield
2022-08-27 23:27:49 -05:00
parent b4bb92de5a
commit c012115e68

View File

@@ -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);
}
};