From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/src/audio/qsa/SDL_qsa_audio.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/source/src/audio/qsa/SDL_qsa_audio.c b/source/src/audio/qsa/SDL_qsa_audio.c
index 957ac2d..4276e07 100644
--- a/source/src/audio/qsa/SDL_qsa_audio.c
+++ b/source/src/audio/qsa/SDL_qsa_audio.c
@@ -1,6 +1,6 @@
/*
Simple DirectMedia Layer
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -619,8 +619,8 @@
{
/* Clear devices array on shutdown */
/* !!! FIXME: we zero these on init...any reason to do it here? */
- SDL_zero(qsa_playback_device);
- SDL_zero(qsa_capture_device);
+ SDL_zeroa(qsa_playback_device);
+ SDL_zeroa(qsa_capture_device);
qsa_playback_devices = 0;
qsa_capture_devices = 0;
}
@@ -629,8 +629,8 @@
QSA_Init(SDL_AudioDriverImpl * impl)
{
/* Clear devices array */
- SDL_zero(qsa_playback_device);
- SDL_zero(qsa_capture_device);
+ SDL_zeroa(qsa_playback_device);
+ SDL_zeroa(qsa_capture_device);
qsa_playback_devices = 0;
qsa_capture_devices = 0;
--
Gitblit v1.9.3