Browse Source

Audio: Fix extension name in ALC_EXT_disconnect extension check.

Miku AuahDark 1 month ago
parent
commit
f19ebafa50
1 changed files with 1 additions and 1 deletions
  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);
 	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
 	// Device disconnection event
 	if (disconnectExtSupported)
 	if (disconnectExtSupported)