mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 20:20:11 +02:00
Update OpenAL-Soft to 1.22.0
This commit is contained in:
@@ -170,7 +170,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Define a macro to help load the function pointers. */
|
||||
#define LOAD_PROC(d, T, x) ((x) = (T)alcGetProcAddress((d), #x))
|
||||
#define LOAD_PROC(d, T, x) ((x) = FUNCTION_CAST(T, alcGetProcAddress((d), #x)))
|
||||
LOAD_PROC(device, LPALCGETSTRINGISOFT, alcGetStringiSOFT);
|
||||
LOAD_PROC(device, LPALCRESETDEVICESOFT, alcResetDeviceSOFT);
|
||||
#undef LOAD_PROC
|
||||
|
||||
Reference in New Issue
Block a user