Use SDL 2 instead of SDL 1.2

This commit is contained in:
Tim Angus committed 2013-01-17 18:20:03 +00:00
1 parent 4432a80a3c
commit f478761e07
13 files changed
+404 -540

No files matched your search

+1 -4
View File
@@ -137,7 +137,6 @@ SNDDMA_Init
*/
qboolean SNDDMA_Init(void)
{
char drivername[128];
SDL_AudioSpec desired;
SDL_AudioSpec obtained;
int tmp;
@@ -166,9 +165,7 @@ qboolean SNDDMA_Init(void)
Com_Printf( "OK\n" );
if (SDL_AudioDriverName(drivername, sizeof (drivername)) == NULL)
strcpy(drivername, "(UNKNOWN)");
Com_Printf("SDL audio driver is \"%s\".\n", drivername);
Com_Printf( "SDL audio driver is \"%s\".\n", SDL_GetCurrentAudioDriver( ) );
memset(&desired, '\0', sizeof (desired));
memset(&obtained, '\0', sizeof (obtained));