[scorched3d] bit_depth* was not a cast - oops
Bruno Wolff III
bruno at fedoraproject.org
Tue Nov 8 00:28:34 UTC 2011
commit 5d1ffc780742c8a608b83b65e678093c99868d2a
Author: Bruno Wolff III <bruno at wolff.to>
Date: Mon Nov 7 13:02:57 2011 -0600
bit_depth* was not a cast - oops
scorched3d-libpng15.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scorched3d-libpng15.patch b/scorched3d-libpng15.patch
index 70e56f3..c743370 100644
--- a/scorched3d-libpng15.patch
+++ b/scorched3d-libpng15.patch
@@ -46,7 +46,7 @@
}
surface = SDL_AllocSurface(SDL_SWSURFACE, width, height,
- bit_depth*info_ptr->channels, Rmask,Gmask,Bmask,Amask);
-+ png_get_channels(png_ptr, info_ptr), Rmask,Gmask,Bmask,Amask);
++ bit_depth*png_get_channels(png_ptr, info_ptr), Rmask,Gmask,Bmask,Amask);
if ( surface == NULL ) {
error = "Out of memory";
goto done;
More information about the scm-commits
mailing list