mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
remove duplicating template
This commit is contained in:
parent
743e178f0a
commit
53ebe566b0
1 changed files with 0 additions and 6 deletions
|
|
@ -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() {
|
std::unique_ptr<ALAudio> ALAudio::create() {
|
||||||
alc_enumeration_ext = alcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT");
|
alc_enumeration_ext = alcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue