Commit e052ba38 authored by Laurent Aimar's avatar Laurent Aimar

Oops, removed tabs from vlc_vout_opengl.h.

parent 33ffe1fd
...@@ -33,23 +33,23 @@ ...@@ -33,23 +33,23 @@
typedef struct vout_opengl_t vout_opengl_t; typedef struct vout_opengl_t vout_opengl_t;
struct vout_opengl_t { struct vout_opengl_t {
/* */ /* */
int (*lock)(vout_opengl_t *); int (*lock)(vout_opengl_t *);
void (*swap)(vout_opengl_t *); void (*swap)(vout_opengl_t *);
void (*unlock)(vout_opengl_t *); void (*unlock)(vout_opengl_t *);
/* */ /* */
void *sys; void *sys;
}; };
static inline int vout_opengl_Lock(vout_opengl_t *gl) static inline int vout_opengl_Lock(vout_opengl_t *gl)
{ {
if (!gl->lock) if (!gl->lock)
return VLC_SUCCESS; return VLC_SUCCESS;
return gl->lock(gl); return gl->lock(gl);
} }
static inline void vout_opengl_Unlock(vout_opengl_t *gl) static inline void vout_opengl_Unlock(vout_opengl_t *gl)
{ {
if (gl->unlock) if (gl->unlock)
gl->unlock(gl); gl->unlock(gl);
} }
static inline void vout_opengl_Swap(vout_opengl_t *gl) static inline void vout_opengl_Swap(vout_opengl_t *gl)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment