Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed07306
)
also works for crc
mac-alpha
author
Jason Woofenden
<jason@jasonwoof.com>
Fri, 11 Dec 2009 14:42:46 +0000
(09:42 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Fri, 11 Dec 2009 14:42:46 +0000
(09:42 -0500)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
c6d48e2
..
8c8c4ef
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-347,8
+347,7
@@
load_image_alpha(char *filename)
tmp = IMG_Load(s);
free(s);
if(tmp) {
tmp = IMG_Load(s);
free(s);
if(tmp) {
- img = SDL_DisplayFormatAlpha(tmp);
- SDL_FreeSurface(tmp);
+ return tmp;
}
}
return img;
}
}
return img;