don't be too pedantic on the OpenAL checks

This commit is contained in:
darealshinji 2018-06-13 01:31:51 +02:00 committed by Thomas Goyne
parent 547b17fc22
commit 7c43c757ce

View file

@ -342,9 +342,9 @@ AS_IF([test x$with_openal != xno], [
#endif
int main(void) {
ALCdevice *device = alcOpenDevice(0);
if (!device) return 1;
ALCcontext *context = alcCreateContext(device, 0);
if (!context) return 1;
alcDestroyContext(context);
alcCloseDevice(device);
return 0;
} ])
])