summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 64490b7098..f9d4685a6b 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -203,7 +203,8 @@ struct gl_hwdec_driver {
// 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 *(*download_image)(struct gl_hwdec *hw,
+ struct mp_image *hw_image);
void (*destroy)(struct gl_hwdec *hw);
};