summaryrefslogtreecommitdiffstats
path: root/video/out/filter_kernels.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-18 16:28:41 +0100
committerwm4 <wm4@nowhere>2015-01-18 16:28:41 +0100
commit46a3974200574f3f17824d27ccd970158c361f6c (patch)
tree843c49bf049caa05a157299391a773175f28315f /video/out/filter_kernels.h
parent9eca8b49dbbdd8e4eb4212d6dbac2e144b410965 (diff)
downloadmpv-46a3974200574f3f17824d27ccd970158c361f6c.tar.bz2
mpv-46a3974200574f3f17824d27ccd970158c361f6c.tar.xz
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.
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r--video/out/filter_kernels.h3
1 files changed, 2 insertions, 1 deletions
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;
};