Fixed bug #765
Added SDL_SetError case for SDL_UNSUPPORTED --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403909
This commit is contained in:
parent
ac573d8522
commit
0990e2250c
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue