mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 23:06:03 +00:00
directfb: Fixed comment.
This commit is contained in:
@@ -468,7 +468,7 @@ DirectFB_GetWindowWMInfo(_THIS, SDL_Window * window,
|
|||||||
/* Before 2.0.6, it was possible to build an SDL with DirectFB support
|
/* Before 2.0.6, it was possible to build an SDL with DirectFB support
|
||||||
(SDL_SysWMinfo will be large enough to hold DirectFB info), but build
|
(SDL_SysWMinfo will be large enough to hold DirectFB info), but build
|
||||||
your app against SDL headers that didn't have DirectFB support
|
your app against SDL headers that didn't have DirectFB support
|
||||||
(SDL_SysWMinfo could be smaller than Wayland needs. This would lead
|
(SDL_SysWMinfo could be smaller than DirectFB needs. This would lead
|
||||||
to an app properly using SDL_GetWindowWMInfo() but we'd accidentally
|
to an app properly using SDL_GetWindowWMInfo() but we'd accidentally
|
||||||
overflow memory on the stack or heap. To protect against this, we've
|
overflow memory on the stack or heap. To protect against this, we've
|
||||||
padded out the struct unconditionally in the headers and DirectFB will
|
padded out the struct unconditionally in the headers and DirectFB will
|
||||||
|
Reference in New Issue
Block a user