MojoAL enabled for static linking
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
<define name="lime-howlerjs" if="html5" />
|
||||
<define name="lime-html5" if="html5" />
|
||||
<define name="lime-native" if="native" />
|
||||
<define name="lime-openal" unless="lime-console || static_link || flash || html5" />
|
||||
<define name="lime-openal" if="emscripten" />
|
||||
<define name="lime-openal" unless="lime-console || flash || html5" />
|
||||
<define name="lime-opengl" if="desktop" />
|
||||
<define name="lime-opengles" if="emscripten || mobile" />
|
||||
<define name="lime-vorbis" if="native" />
|
||||
|
||||
Submodule project/lib/sdl updated: 181cbfd1ec...2d67dc5e46
@@ -25,7 +25,7 @@ namespace lime {
|
||||
|
||||
SDLApplication::SDLApplication () {
|
||||
|
||||
if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_GAMECONTROLLER | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) != 0) {
|
||||
if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_GAMECONTROLLER | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) != 0) {
|
||||
|
||||
printf ("Could not initialize SDL: %s.\n", SDL_GetError ());
|
||||
|
||||
|
||||
@@ -3042,7 +3042,7 @@ namespace lime {
|
||||
#else
|
||||
if (param == AL_BUFFER) {
|
||||
|
||||
data = (ALuint)(uintptr_t)(HL_CFFIPointer*)val->ptr;
|
||||
data = (ALuint)(uintptr_t)((HL_CFFIPointer*)val)->ptr;
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user