Преглед изворни кода

Audio: Fix extension name in ALC_EXT_disconnect extension check.

Miku AuahDark пре 3 месеци
родитељ
комит
f19ebafa50
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/modules/audio/openal/Pool.cpp

+ 1 - 1
src/modules/audio/openal/Pool.cpp

@@ -106,7 +106,7 @@ void Pool::update()
 
 	thread::Lock lock(mutex);
 
-	static bool disconnectExtSupported = alcIsExtensionPresent(device, "ALC_EXT_Disconnect") == ALC_TRUE;
+	static bool disconnectExtSupported = alcIsExtensionPresent(device, "ALC_EXT_disconnect") == ALC_TRUE;
 
 	// Device disconnection event
 	if (disconnectExtSupported)