diff options
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index b5dc1a27a4..8b5ac63d9a 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -182,8 +182,8 @@ struct gl_hwdec { struct gl_hwdec_driver { // Same name as used by mp_hwdec_info->load_api() const char *api_name; - // Test whether the given IMGFMT_ is supported. - bool (*query_format)(int imgfmt); + // 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. // This also must set hw->converted_imgfmt. int (*create)(struct gl_hwdec *hw); |