Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
parent
edc88be724
commit
08dfaaa2e6
63 changed files with 157 additions and 349 deletions
|
@ -267,10 +267,8 @@ X11_GL_UnloadLibrary(_THIS)
|
|||
#endif
|
||||
|
||||
/* Free OpenGL memory */
|
||||
if (_this->gl_data) {
|
||||
SDL_free(_this->gl_data);
|
||||
_this->gl_data = NULL;
|
||||
}
|
||||
SDL_free(_this->gl_data);
|
||||
_this->gl_data = NULL;
|
||||
}
|
||||
|
||||
static SDL_bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue