shared: fix typos

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
dev
Maxime Roussin-Bélanger 4 years ago
parent 4e8ea1f9d5
commit 5d10fe0264
  1. 2
      shared/os-compatibility.c
  2. 2
      shared/weston-egl-ext.h

@ -327,7 +327,7 @@ os_ro_anonymous_file_size(struct ro_anonymous_file *file)
* The returned file descriptor must not be shared between multiple clients.
* When \p mapmode is RO_ANONYMOUS_FILE_MAPMODE_PRIVATE the file descriptor is
* only guaranteed to be mmapable with \c MAP_PRIVATE, when \p mapmode is
* RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmaped with
* RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmapped with
* either MAP_PRIVATE or MAP_SHARED.
* When you're done with the fd you must call \c os_ro_anonymous_file_put_fd
* instead of calling \c close.

@ -210,7 +210,7 @@ typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy,
#else /* ENABLE_EGL */
/* EGL platform definition are keept to allow compositor-xx.c to build */
/* EGL platform definition are kept to allow compositor-xx.c to build */
#define EGL_PLATFORM_GBM_KHR 0x31D7
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
#define EGL_PLATFORM_X11_KHR 0x31D5

Loading…
Cancel
Save