summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-09-28 18:38:13 +0100
committerEmil Velikov <[email protected]>2017-10-02 16:29:38 +0100
commit677edff5cfdefdd1433beff4787a7d7987e07bd3 (patch)
tree21e5f0ac76feb7fd1a9235fe83a392e725b4d3bb /docs
parentebc51ff932083ab1bda58a4b66b3e35f3b593fa0 (diff)
wayland-egl: rework and simplify wl_egl_window initialization
Use calloc instead of malloc + explicitly zeroing the different fields. We need special handling for the version field which is of type const intptr_t. As we're here document why keeping the constness is a good idea. The wl_egl_window_resize() call is replaced with an explicit set of the width/height. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Reviewed-by: Miguel A. Vico <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions