diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -766,7 +766,7 @@ ALCAPI ALCenum ALCAPIENTRY alcGetError(ALCdevice *device) { ALCenum errorCode = ALC_NO_ERROR; - if(device) + if(IsDevice(device)) { errorCode = device->LastError; device->LastError = ALC_NO_ERROR; |