| Summary: | [PATCH][KMSDRM] Fix KMSDRM_CreateWindow() segfault when starting LÖVE2D engine. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Manuel Alfayate Corchete <redwindwanderer> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Small patch that fixes KMSDRM_CreateWindow to avoid segfaults | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/fb6395c49ce9 |
Created attachment 4389 [details] Small patch that fixes KMSDRM_CreateWindow to avoid segfaults Hi, This small patch fixes the KMSDRM_CreateSurfaces() call in KMSDRM_CreateWindow(), that was segfaulting deeper into SDL internals because the windata->viddata pointer wasn't set before the KMSDRM_CreateSurfaces() call. So that's what this small patch does. Now, LÖVE2D works perfectly well on the Raspberry Pi 3, instead of just segfaulting. Please merge.