From fb8d15836695e883355c5ec6ff8463e7bbf39461 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 18 Jul 2015 18:06:35 +0200 Subject: vo_opengl: make the size of interpolation textures exact I still have no idea why this is needed, maybe some weird off-by-one in some shitty driver? Either way, the difference for a working setup shouldn't be too major, the most noticeable effect would be somewhat worse performance when resizing the video during playback with interpolation enabled using the mouse. That's a specific enough side effect for me to not care as much about it. Fixes #1814. --- video/out/gl_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 7ef697b42e..2f1686eda3 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2078,7 +2078,7 @@ static void gl_video_interpolate_frame(struct gl_video *p, struct vo_frame *t, gl_video_upload_image(p, t->current); pass_render_frame(p); finish_pass_fbo(p, &p->surfaces[p->surface_now].fbotex, - vp_w, vp_h, 0, FBOTEX_FUZZY); + vp_w, vp_h, 0, 0); p->surfaces[p->surface_now].pts = p->image.mpi->pts; p->surface_idx = p->surface_now; } @@ -2139,7 +2139,7 @@ static void gl_video_interpolate_frame(struct gl_video *p, struct vo_frame *t, gl_video_upload_image(p, f); pass_render_frame(p); finish_pass_fbo(p, &p->surfaces[surface_dst].fbotex, - vp_w, vp_h, 0, FBOTEX_FUZZY); + vp_w, vp_h, 0, 0); p->surfaces[surface_dst].pts = f->pts; p->surface_idx = surface_dst; surface_dst = fbosurface_wrap(surface_dst+1); -- cgit v1.2.3