Skip to content

Commit

Permalink
directfb: Fixed comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jun 11, 2017
1 parent fbd30c3 commit 5b75e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/directfb/SDL_DirectFB_window.c
Expand Up @@ -468,7 +468,7 @@ DirectFB_GetWindowWMInfo(_THIS, SDL_Window * window,
/* 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
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
overflow memory on the stack or heap. To protect against this, we've
padded out the struct unconditionally in the headers and DirectFB will
Expand Down

0 comments on commit 5b75e90

Please sign in to comment.