X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout_opengl.h;h=94c09153e43744e88dcc5c6894fa57690ac8ad7c;hb=211f72ff01d9f6fcfefc6801503b01b3a4e935a4;hp=016ee9b18a943d0584f62a8c2e5d6a1ecf680ea0;hpb=a51b9608861bb1a7a42af6f0f20e80e0abf2e52b;p=vlc diff --git a/include/vlc_vout_opengl.h b/include/vlc_vout_opengl.h index 016ee9b18a..94c09153e4 100644 --- a/include/vlc_vout_opengl.h +++ b/include/vlc_vout_opengl.h @@ -33,23 +33,23 @@ typedef struct vout_opengl_t vout_opengl_t; struct vout_opengl_t { - /* */ - int (*lock)(vout_opengl_t *); - void (*swap)(vout_opengl_t *); - void (*unlock)(vout_opengl_t *); + /* */ + int (*lock)(vout_opengl_t *); + void (*swap)(vout_opengl_t *); + void (*unlock)(vout_opengl_t *); /* */ void *sys; }; static inline int vout_opengl_Lock(vout_opengl_t *gl) { - if (!gl->lock) - return VLC_SUCCESS; + if (!gl->lock) + return VLC_SUCCESS; return gl->lock(gl); } static inline void vout_opengl_Unlock(vout_opengl_t *gl) { - if (gl->unlock) + if (gl->unlock) gl->unlock(gl); } static inline void vout_opengl_Swap(vout_opengl_t *gl)