diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/context.c | 1 | ||||
-rw-r--r-- | video/out/opengl/context.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index f7fce4fae5..63fed40de2 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -160,6 +160,7 @@ static MPGLContext *init_backend(struct vo *vo, const struct mpgl_driver *driver .vo = vo, .global = vo->global, .driver = driver, + .log = vo->log, }; if (probing) vo_flags |= VOFLAG_PROBING; diff --git a/video/out/opengl/context.h b/video/out/opengl/context.h index 0a02bd2867..ecb9d9c033 100644 --- a/video/out/opengl/context.h +++ b/video/out/opengl/context.h @@ -78,6 +78,7 @@ typedef struct MPGLContext { struct vo *vo; const struct mpgl_driver *driver; struct mpv_global *global; + struct mp_log *log; // For hwdec_vaegl.c. const char *native_display_type; |