summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r--Smoke/streamlines.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c
index 0239fcf..1863439 100644
--- a/Smoke/streamlines.c
+++ b/Smoke/streamlines.c
@@ -19,7 +19,7 @@ static int streamlines_dataset = DATASET_RHO;
static float streamlines_alpha = 1.0f;
static fftw_real *streamlines_frame;
-struct fftw_real_xy *streamlines_history_scalars;
+struct fftw_real_xy **streamlines_history_scalars;
void streamlines_set_render(int render_streamlines)
{
@@ -81,14 +81,14 @@ fftw_real *streamlines_get_frame(void)
return streamlines_frame;
}
-void streamlines_set_history_scalars(struct fftw_real_xy *history)
+void streamlines_set_history_scalars(struct fftw_real_xy **history)
{
streamlines_history_scalars = history;
}
-struct fftw_real_xy *streamlines_get_history_scalars(void)
+struct fftw_real_xy *streamlines_get_history_scalars(int hisdex)
{
- return streamlines_history_scalars;
+ return streamlines_history_scalars[hisdex];
}