Re: Help Solving SDL2 Wrapper Example

new topic     » goto parent     » topic index » view thread      » older message » newer message

OK, I downloaded eusdl2.zip and opened sdl2.dll with dependency walker, only to find there is no SDL_BlitSurface entry.

So I downloaded the source code and a quick search revealed, in SDL_surface.h, this little gem:

#define SDL_BlitSurface SDL_UpperBlit 

Hence I humbly suggest this may help:

xSDL_BlitSurface = define_c_func(sdl2,"SDL_UpperBlit",{C_POINTER,C_POINTER,C_POINTER,C_POINTER},C_INT)  

Pete

PS: a comment along the lines of --NB this is NOT a typo! seems warranted.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu