From 46a3974200574f3f17824d27ccd970158c361f6c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 Jan 2015 16:28:41 +0100 Subject: vo_opengl: remove 1D texture usage Broke operation with GLSL. Since 1D texture usage was apparently (and mysteriously) good for speed, it might be added back, but it's unknown how to do so in a clean way. --- video/out/filter_kernels.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video/out/filter_kernels.h') diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h index 4b407f4479..c1d68e0c5b 100644 --- a/video/out/filter_kernels.h +++ b/video/out/filter_kernels.h @@ -31,8 +31,9 @@ struct filter_kernel { // Whether or not the filter uses polar coordinates bool polar; // The following values are set by mp_init_filter() at runtime. - // Number of coefficients; equals the rounded up radius multiplied with 2. int size; + // Number of coefficients; equals the rounded up radius multiplied with 2. + int num_coefficients; double inv_scale; }; -- cgit v1.2.3