| Summary: | VSync can not be reinitialized with another value | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andrey Budko <e6y> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | 1.2.14 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Andrey Budko
2011-05-24 00:29:48 UTC
Don't call SDL_FreeSurface(screen) ... if you replace that with...
SDL_QuitSubSystem(SDL_INIT_VIDEO);
SDL_Init(SDL_INIT_VIDEO);
...then the problem should be fixed.
(In SDL 1.3, we have a proper API for toggling vsync on existing windows.)
--ryan.
|