From 41ee66d566f92a0dfdd95189e99ea34a99d3c441 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 7 Aug 2017 14:34:18 +0200 Subject: vo_opengl: drop pointless fbotex_init() function --- video/out/opengl/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/video.c') diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index c044e62664..6300ea84ea 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -3335,7 +3335,7 @@ static bool test_fbo(struct gl_video *p, const struct ra_format *fmt) { MP_VERBOSE(p, "Testing FBO format %s\n", fmt->name); struct fbotex fbo = {0}; - bool success = fbotex_init(&fbo, p->ra, p->log, 16, 16, fmt); + bool success = fbotex_change(&fbo, p->ra, p->log, 16, 16, fmt, 0); fbotex_uninit(&fbo); return success; } -- cgit v1.2.3