chore: uncomment
This commit is contained in:
@@ -47,16 +47,10 @@ class Bitmap {
|
|||||||
private:
|
private:
|
||||||
struct sdl_deleter {
|
struct sdl_deleter {
|
||||||
void operator()(SDL_Texture *p) const {
|
void operator()(SDL_Texture *p) const {
|
||||||
// if (p) {
|
SDL_DestroyTexture(p);
|
||||||
// SDL_DestroyTexture(p);
|
|
||||||
// p = nullptr;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
void operator()(SDL_Surface *p) const {
|
void operator()(SDL_Surface *p) const {
|
||||||
// if (p) {
|
SDL_FreeSurface(p);
|
||||||
// SDL_FreeSurface(p);
|
|
||||||
// p = nullptr;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user