| Summary: | Failed to create multiples times the software renderer. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sylvain <sylvain.becker> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | ant |
| Version: | don't know | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | test case | ||
|
Description
Sylvain
2018-12-15 15:14:59 UTC
Created attachment 3548 [details] test case test case to switch renderers (actually same as bug #4425) "opengl -> opengles2" calls SDL_RecreateWindow() which frees "window->surface" without marking it as invalid. When SW renderer is re-created it fails getting its surface. Fixed https://hg.libsdl.org/SDL/rev/11f8bd1899c5 |