Added SDL_SetError case for SDL_UNSUPPORTED

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403909
This commit is contained in:
Sam Lantinga 2009-09-26 10:19:19 +00:00
parent ac573d8522
commit 0990e2250c

View file

@ -231,6 +231,9 @@ SDL_Error(SDL_errorcode code)
case SDL_EFSEEK:
SDL_SetError("Error seeking in datastream");
break;
case SDL_UNSUPPORTED:
SDL_SetError("That operation is not supported");
break;
default:
SDL_SetError("Unknown SDL error");
break;