mirror of
https://github.com/yawut/SDL.git
synced 2026-07-07 04:04:29 -05:00
Mason Wheeler 2009-07-05 09:28:33 PDT This patch fixes two issues with SDL_CreateTextureFromSurface. 1. If no renderer is available, the function will return 0 without calling SDL_SetError. (It does this in other places as well, but it appears that in these cases, SDL_SetError was already called by a previous function call.) 2. Removal of a dead code block that checks for an impossible return value. |
||
|---|---|---|
| .. | ||
| atomic | ||
| audio | ||
| cpuinfo | ||
| events | ||
| file | ||
| haptic | ||
| joystick | ||
| libm | ||
| loadso | ||
| main | ||
| power | ||
| stdlib | ||
| thread | ||
| timer | ||
| video | ||
| SDL_compat.c | ||
| SDL_error_c.h | ||
| SDL_error.c | ||
| SDL_fatal.c | ||
| SDL_fatal.h | ||
| SDL.c | ||