Skip to content

Commit

Permalink
Fixed wrong error code (ALC vs AL).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 4, 2018
1 parent c08f420 commit b0f42e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoal.c
Expand Up @@ -1392,7 +1392,7 @@ const ALchar* alGetString(ALenum param)
}

FIXME("other enums that should report as strings?");
set_al_error(get_current_context(), ALC_INVALID_ENUM);
set_al_error(get_current_context(), AL_INVALID_ENUM);

return NULL;
}
Expand Down

0 comments on commit b0f42e5

Please sign in to comment.