| Summary: | IMG_Init and IMG_Quit for faster loading of multiple images | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Mason Wheeler <masonwheeler> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
|
Description
Mason Wheeler
2009-06-10 06:29:45 UTC
After further testing, I've found that the patch needs to be revised a little. The "initialized & CONSTANT_VALUE" checks need to be removed from IMG_Init, as they make it impossible to nest initialization calls from different subsystems of the calling program. Also, the line "initialized = result;" ought to read "initialized |= result;", again to allow for multiple calls to IMG_Init to work correctly. This is in for the next release, thanks! |