diff options
Diffstat (limited to 'video/out/gl_hwdec.h')
-rw-r--r-- | video/out/gl_hwdec.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/gl_hwdec.h b/video/out/gl_hwdec.h index 8d2f563d5e..ffe685fa97 100644 --- a/video/out/gl_hwdec.h +++ b/video/out/gl_hwdec.h @@ -43,9 +43,7 @@ struct gl_hwdec_driver { // Undo map_image(). The user of map_image() calls this when the textures // are not needed anymore. void (*unmap_image)(struct gl_hwdec *hw); - // Return a mp_image downloaded from the GPU (optional) - struct mp_image *(*download_image)(struct gl_hwdec *hw, - struct mp_image *hw_image); + void (*destroy)(struct gl_hwdec *hw); }; |