Add the destination format to the error when conversion isn't possible

This commit is contained in:
Sam Lantinga 2020-01-11 04:38:13 -08:00
parent d33b122f4f
commit e3cedf967d
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ SDL_BuildAudioTypeCVTFromFloat(SDL_AudioCVT *cvt, const SDL_AudioFormat dst_fmt)
}
if (!filter) {
return SDL_SetError("No conversion from float to destination format available");
return SDL_SetError("No conversion from float to format 0x.4x available", dst_fmt);
}
if (SDL_AddAudioCVTFilter(cvt, filter) < 0) {