]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Move variable paintbuffer_unswapped into CONFIG_VIDEO_CAPTURE, unused without it
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Jun 2020 17:53:37 +0000 (17:53 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Jun 2020 17:53:37 +0000 (17:53 +0000)
https://gitlab.com/xonotic/darkplaces/-/merge_requests/89

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12680 d7cf8633-e32d-0410-b094-e92efae38249

snd_mix.c

index f9748bd6d86504239a7fe139bc9b63481f8ab4aa..b718bdcb242b97089c043e803c410766bf42c572 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -24,11 +24,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 extern cvar_t snd_softclip;
 
 static portable_sampleframe_t paintbuffer[PAINTBUFFER_SIZE];
-static portable_sampleframe_t paintbuffer_unswapped[PAINTBUFFER_SIZE];
 
 extern speakerlayout_t snd_speakerlayout; // for querying the listeners
 
 #ifdef CONFIG_VIDEO_CAPTURE
+static portable_sampleframe_t paintbuffer_unswapped[PAINTBUFFER_SIZE];
+
 static void S_CaptureAVISound(const portable_sampleframe_t *sampleframes, size_t length)
 {
        size_t i;