SDL_RWseek not working or WEBP trouble |
xor
|
Hello,
I have trouble to put my webp image graphic put to resource file. When I put PNG all working ok. Wep graphics showing in SDL good, but i cant read webp from resource. I get [WebPGetFeatures has failed] error Read data form file 'plikw' w = SDL_RWFromFile(plikw, "rb"); i = SDL_RWseek(w, 2, RW_SEEK_SET); obr = IMG_Load_RW(w,1); /* IMG_LoadTyped_RW(w, 1, "PNG"); */ Anybody can help me? here is my code: https://gist.githubusercontent.com/anonymous/c8328d33bee1eee7f9e32aec3053ee20/raw/8412263af01296ebb349038dcdcb5f486fd08724/gistfile1.txt -- View this message in context: http://sdl.5483.n7.nabble.com/SDL-RWseek-not-working-or-WEBP-trouble-tp47615.html Sent from the SDL mailing list archive at Nabble.com. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
SDL_RWseek not working or WEBP trouble |
xor
|
this code working with PNG not working with WEBP
-- View this message in context: http://sdl.5483.n7.nabble.com/SDL-RWseek-not-working-or-WEBP-trouble-tp47615p47616.html Sent from the SDL mailing list archive at Nabble.com. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|