textureloader - png - loading from memory without fmemopen

This commit is contained in:
Henrique Santiago
2011-03-18 17:39:21 -03:00
parent b80dc4d6e0
commit c70e27494c
5 changed files with 31 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ void signal_handler(int sig)
switch(sig) {
case SIGTERM:
case SIGINT:
case SIGQUIT:
//case SIGQUIT:
{
static bool stopping = false;
if(!stopping) {
@@ -58,7 +58,7 @@ int main(int argc, const char *argv[])
// install our signal handler
signal(SIGTERM, signal_handler);
signal(SIGINT, signal_handler);
signal(SIGQUIT, signal_handler);
//signal(SIGQUIT, signal_handler);
// setup resources
g_resources.init(argv[0]);