SDL2 for Windows and OSX: rebuilt from SDL hg-11427:381449ca1cd2 :

- Mainly includes a few Mac OS X fixes since rev. 11413.

- The Windows builds exclude the new wasapi audio feature, because it
  keeps sending AUDIO_F32LSB in the obtained.format for me.

- The x64 part of the OSX builds does include the new Vulkan support
 (I build against 10.8 SDK to target 10.6+, but I hacked && butchered
  Metal.framework headers from 10.11 SDK to play nice with 10.8 SDK.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1492 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2017-08-30 20:28:28 +00:00
parent 27a34d8173
commit 5a999570e2
9 changed files with 6 additions and 8 deletions

View File

@ -451,7 +451,6 @@ extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf);
* and rate, and initializes the \c cvt structure with information needed
* by SDL_ConvertAudio() to convert a buffer of audio data from one format
* to the other. An unsupported format causes an error and -1 will be returned.
* The audio subsystem must be initialized before calling this function.
*
* \return 0 if no conversion is needed, 1 if the audio filter is set up,
* or -1 on error.

View File

@ -176,7 +176,7 @@
/* Enable Vulkan support */
/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
#if TARGET_CPU_X86_64
#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
#define SDL_VIDEO_VULKAN 1
#else
#define SDL_VIDEO_VULKAN 0

View File

@ -1,2 +1,2 @@
#define SDL_REVISION "hg-11413:16fe5acdcaa7"
#define SDL_REVISION_NUMBER 11413
#define SDL_REVISION "hg-11427:381449ca1cd2"
#define SDL_REVISION_NUMBER 11427

View File

@ -451,7 +451,6 @@ extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf);
* and rate, and initializes the \c cvt structure with information needed
* by SDL_ConvertAudio() to convert a buffer of audio data from one format
* to the other. An unsupported format causes an error and -1 will be returned.
* The audio subsystem must be initialized before calling this function.
*
* \return 0 if no conversion is needed, 1 if the audio filter is set up,
* or -1 on error.

View File

@ -176,7 +176,7 @@
/* Enable Vulkan support */
/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
#if TARGET_CPU_X86_64
#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
#define SDL_VIDEO_VULKAN 1
#else
#define SDL_VIDEO_VULKAN 0

View File

@ -1,2 +1,2 @@
#define SDL_REVISION "hg-11413:16fe5acdcaa7"
#define SDL_REVISION_NUMBER 11413
#define SDL_REVISION "hg-11427:381449ca1cd2"
#define SDL_REVISION_NUMBER 11427

Binary file not shown.

Binary file not shown.