diff options
Diffstat (limited to 'video/out/opengl/hwdec.h')
-rw-r--r-- | video/out/opengl/hwdec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/opengl/hwdec.h b/video/out/opengl/hwdec.h index ac1771c28d..c04962dd76 100644 --- a/video/out/opengl/hwdec.h +++ b/video/out/opengl/hwdec.h @@ -27,8 +27,10 @@ struct gl_hwdec { }; struct gl_hwdec_driver { - // Same name as used by mp_hwdec_info->load_api() - const char *api_name; + // Name of the interop backend. This is used for logging only. + const char *name; + // Used to explicitly request a specific API. + enum hwdec_type api; // The hardware surface IMGFMT_ that must be passed to map_image later. int imgfmt; // Create the hwdec device. It must fill in hw->info, if applicable. |