diff options
Diffstat (limited to 'smelt/sdl/smelt_internal.hpp')
-rw-r--r-- | smelt/sdl/smelt_internal.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/smelt/sdl/smelt_internal.hpp b/smelt/sdl/smelt_internal.hpp index a14e151..c7a77fd 100644 --- a/smelt/sdl/smelt_internal.hpp +++ b/smelt/sdl/smelt_internal.hpp @@ -21,11 +21,15 @@ #include <dirent.h> #include <unistd.h> #include <SDL2/SDL.h> +#ifndef ENABLE_DUMB #include <AL/al.h> #include <AL/alc.h> #include <AL/alext.h> +#ifdef ENABLE_OGG_SUPPORT #include <ogg/ogg.h> #include <vorbis/vorbisfile.h> +#endif +#endif #ifdef WIN32 #include <windows.h> #include <intrin.h> @@ -225,12 +229,14 @@ public: DWORD* decodeImage(BYTE *data,const char *fn,DWORD size,int &w,int &h); void *pOpenALDevice; + bool mute,lpp; bool initOAL(); void finiOAL(); - bool mute,lpp; +#ifndef ENABLE_DUMB int scnt; ALuint src[SRC_MAX]; ALuint getSource(); +#endif int posz,lkey; float posx,posy; |