Hi, A fix has been committed to SVN (and Agar-1.4.1 which will be released in a few days). Thanks for pointing out the "r" vs "rb" bug. There were other problems with the image file loaders that were fixed since 1.4.0.
On Wed, May 26, 2010 at 02:16:20PM +0800, lingkuimeng wrote: > Hi, everyone > > > When i use AG_SurfaceFromBMP() in my project , it didn't work well. > My Agar version is 1.4.0. > > But it worked fine when i used agar-1.3.4 a few month ago. > > Finally, i noticed it usd "r" as the mode when calling AG_OpenFile() > while SDL_LoadBMP_RW() usd "rb". > > After i add "b" , it works fine. > > > > 2010-05-26 > > > > lingkuimeng > _______________________________________________ > Agar mailing list > [email protected] > http://libagar.org/lists.html _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
