housekeeping
This commit is contained in:
@@ -46,12 +46,8 @@ class Bitmap {
|
||||
|
||||
private:
|
||||
struct sdl_deleter {
|
||||
void operator()(SDL_Texture *p) const {
|
||||
SDL_DestroyTexture(p);
|
||||
}
|
||||
void operator()(SDL_Surface *p) const {
|
||||
SDL_FreeSurface(p);
|
||||
}
|
||||
void operator()(SDL_Texture *p) const { SDL_DestroyTexture(p); }
|
||||
void operator()(SDL_Surface *p) const { SDL_FreeSurface(p); }
|
||||
};
|
||||
|
||||
int width_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user