aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fosphor/cl.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2013-10-26 17:49:19 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-10-26 17:49:19 +0200
commit020f5b1c6f59348659445d11e888718be5be91d9 (patch)
treebf3720b7273839ca34b5df07b90f8198a03cfbd7 /lib/fosphor/cl.c
parente828e7faffb635ce0600a90e6e194f6c30a9c7fe (diff)
fosphor: Make sure the FFT len is from #define everywhere
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'lib/fosphor/cl.c')
-rw-r--r--lib/fosphor/cl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fosphor/cl.c b/lib/fosphor/cl.c
index 7a119b7..8d9edbb 100644
--- a/lib/fosphor/cl.c
+++ b/lib/fosphor/cl.c
@@ -466,7 +466,7 @@ cl_do_init(struct fosphor_cl_state *cl, struct fosphor_gl_state *gl)
CL_ERR_CHECK(err, "Unable to create display kernel");
/* Configure static display kernel args */
- cl_uint fft_log2_len = 10;
+ cl_uint fft_log2_len = FOSPHOR_FFT_LEN_LOG;
cl_uint fft_batch = FOSPHOR_FFT_MAX_BATCH;
cl_float histo_t0r = 16.0f;
cl_float histo_t0d = 1024.0f;