aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-07 10:50:51 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:17 +0100
commitb6c119939fcd95041c48035b27ebceaa19a4812e (patch)
treedb0e22bf629a5b4b87f5f8ae107b6b0227724daa /src/diffraction-gpu.c
parentef764dd150e7be5438a3277cfcb8a6270b9ecd00 (diff)
setup_gpu() does not need an image
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r--src/diffraction-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index e7449148..59f19809 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -342,7 +342,7 @@ void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
/* Setup the OpenCL stuff, create buffers, load the structure factor table */
-struct gpu_context *setup_gpu(int no_sfac, struct image *image,
+struct gpu_context *setup_gpu(int no_sfac,
const double *intensities, unsigned char *flags,
const char *sym, int dev_num)
{