mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
vo_opengl: fix compilation
Never do a trivial change while drunk and without actually testing it.
This commit is contained in:
parent
de22d2b1ba
commit
20d354cc0c
@ -240,12 +240,12 @@ static void request_hwdec_api(struct mp_hwdec_info *info, const char *api_name)
|
||||
static void get_hwdec_info(struct gl_priv *p, struct mp_hwdec_info *info)
|
||||
{
|
||||
if (p->hwdec) {
|
||||
*info = p->hwdec->info;
|
||||
*info = *p->hwdec->info;
|
||||
} else {
|
||||
*info = (struct mp_hwdec_info) {
|
||||
.load_api = request_hwdec_api,
|
||||
.load_api_ctx = p,
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user