Explorar o código

Fixed typo in WASAPI shutdown code

Sam Lantinga %!s(int64=8) %!d(string=hai) anos
pai
achega
f033ce61e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/audio/wasapi/SDL_wasapi.c

+ 1 - 1
src/audio/wasapi/SDL_wasapi.c

@@ -640,7 +640,7 @@ ReleaseWasapiDevice(_THIS)
 
     if (this->hidden->capture) {
         IAudioCaptureClient_Release(this->hidden->capture);
-        this->hidden->client = NULL;
+        this->hidden->capture = NULL;
     }
 
     if (this->hidden->waveformat) {