SDL_RWseek not working or WEBP trouble

Powero <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.