renpy / pygame_sdl2

Reimplementation of portions of the pygame API using SDL2.
GNU Lesser General Public License v2.1
326 stars 64 forks source link

Fix build failure due to the removal of MIX_INIT_MODPLUG and the repl… #82

Closed apoleon closed 6 years ago

apoleon commented 6 years ago

…acement of

MIX_INIT_FLUIDSYNTH with MIX_INIT_MID in SDL2_MIXER 2.0.2. In this version the definitions look like this (SDL2/SDL_mixer.h)

typedef enum { MIX_INIT_FLAC = 0x00000001, MIX_INIT_MOD = 0x00000002, MIX_INIT_MP3 = 0x00000008, MIX_INIT_OGG = 0x00000010, MIX_INIT_MID = 0x00000020 } MIX_InitFlags;

caryoscelus commented 6 years ago

Thanks for the fix.

BrandonBlair commented 6 years ago

You have finally rescued me from weeks of WTF. I tried excising the changes in those files manually but broke something, you got me the rest of the way! Gimme your paypal and I will buy you a pizza (I'm working on a pizza sim in pygame_sdl2 for fun)

apoleon commented 6 years ago

Hey, thanks for the nice touch. I'm glad this was of use for someone. Cheers.