Skip to content

Instantly share code, notes, and snippets.

@cfcosta
Created February 21, 2012 00:38
Show Gist options
  • Save cfcosta/1872578 to your computer and use it in GitHub Desktop.
Save cfcosta/1872578 to your computer and use it in GitHub Desktop.
void stack_remove(sprite_node *node)
{
node->previous->next = node->next;
SDL_FreeSurface(node->image);
free(node);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment