Просмотр исходного кода

Audio: Fix extension name in ALC_EXT_disconnect extension check.

Miku AuahDark 3 месяцев назад
Родитель
Сommit
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)