mirror of https://github.com/odrling/Aegisub
don't be too pedantic on the OpenAL checks
This commit is contained in:
parent
547b17fc22
commit
7c43c757ce
|
@ -342,9 +342,9 @@ AS_IF([test x$with_openal != xno], [
|
||||||
#endif
|
#endif
|
||||||
int main(void) {
|
int main(void) {
|
||||||
ALCdevice *device = alcOpenDevice(0);
|
ALCdevice *device = alcOpenDevice(0);
|
||||||
if (!device) return 1;
|
|
||||||
ALCcontext *context = alcCreateContext(device, 0);
|
ALCcontext *context = alcCreateContext(device, 0);
|
||||||
if (!context) return 1;
|
alcDestroyContext(context);
|
||||||
|
alcCloseDevice(device);
|
||||||
return 0;
|
return 0;
|
||||||
} ])
|
} ])
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue