| Summary: | [patch] warnings in kmsdrm | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Malte Kießling <mkalte> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | patch | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/936b1869a34a |
Created attachment 4228 [details] patch At the moment i get following warnings from kmsdrm: * in SDL_kmsdrmvideo.c KMSDRM_DestroySurfaces is return type int, but thats never returned or checked against * in SDL_kmsdrmvideo.c KMSDRM_DestroySurfaces the variable viddata is not used * in SDL_kmsdrmopengles.c KMSDRM_GLES_LoadLibrary a cast to NativeDisplayType is missing I attached a patch for them :) I think changing KMSDRM_DestroySurfaces to void is ok? Its not used anywhere else and its a quite recent addition if i read the commit logs right. ~mkalte