summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/gpu/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 3a000aee97..96afd56564 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -862,9 +862,6 @@ static void init_video(struct gl_video *p)
}
p->color_swizzle[4] = '\0';
- // Format-dependent checks.
- check_gl_features(p);
-
mp_image_params_guess_csp(&p->image_params);
av_lfg_init(&p->lfg, 1);
@@ -909,6 +906,9 @@ static void init_video(struct gl_video *p)
debug_check_gl(p, "after video texture creation");
+ // Format-dependent checks.
+ check_gl_features(p);
+
gl_video_setup_hooks(p);
}