remove duplicating template

This commit is contained in:
MihailRis 2026-01-05 20:25:12 +03:00
parent 743e178f0a
commit 53ebe566b0

View file

@ -695,12 +695,6 @@ std::unique_ptr<InputDevice> ALAudio::openInputDevice(
);
}
template<typename T>
static bool get_proc_address(const char* name, T& ptr) {
ptr = (T) alGetProcAddress(name);
return ptr != nullptr;
}
std::unique_ptr<ALAudio> ALAudio::create() {
alc_enumeration_ext = alcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT");