commit | 44e7397995d992f1945a133111fabbd0c2f88197 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Tue Dec 12 16:37:23 2017 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Tue Dec 12 16:37:23 2017 -0800 |
tree | 3e27d9b278870fad360f52b951de2d566a3b6187 | |
parent | 35623271c9edac00e96c1c93421aa15b1e2df1f3 [diff] |
Fixed bug 3992 - SDL_GetColorKey doesn't set error message Luke A. Guest SDL_GetColorKey does not set an error message on failure. The current source just returns -1. The documentation https://wiki.libsdl.org/SDL_GetColorKey?highlight=%28%5CbCategoryAPI%5Cb%29%7C%28SDLFunctionTemplate%29 says to call SDL_GetError but that is useless in this case.