]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout_opengl.h
Use var_Inherit* instead of var_CreateGet*.
[vlc] / include / vlc_vout_opengl.h
index 016ee9b18a943d0584f62a8c2e5d6a1ecf680ea0..94c09153e43744e88dcc5c6894fa57690ac8ad7c 100644 (file)
 
 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)