Commit 0990e225 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #765

Added SDL_SetError case for SDL_UNSUPPORTED

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403909
parent ac573d85
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment