Add new internal error message for invalid parameters; add validation of input rect in SDL_SetTextInputRect; add test cases for SDL_SetTextInputRect to keyboard suite
This commit is contained in:
parent
054a17097d
commit
a20096403e
6 changed files with 156 additions and 1 deletions
|
@ -235,6 +235,9 @@ SDL_Error(SDL_errorcode code)
|
|||
case SDL_UNSUPPORTED:
|
||||
SDL_SetError("That operation is not supported");
|
||||
break;
|
||||
case SDL_INVALIDPARAM:
|
||||
SDL_SetError("Parameter is invalid");
|
||||
break;
|
||||
default:
|
||||
SDL_SetError("Unknown SDL error");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue