aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-26 16:23:21 +0100
committerThomas White <taw@physics.org>2010-03-26 16:23:21 +0100
commit6a2ebece241fd5d1a82787b446d8eb7b273ae97e (patch)
tree4e60ef94a90351bbf2439b29fbc3284b8176e9a4 /src/diffraction-gpu.h
parent6a9811f69425e47b061f4987970681dbbf27a2bd (diff)
Don't try to render PDBs, part II: remove "molecule" from "struct image".
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r--src/diffraction-gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index b23dab63..a9e46b66 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -24,7 +24,7 @@ struct gpu_context;
#if HAVE_OPENCL
extern void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
- int na, int nb, int nc);
+ int na, int nb, int nc, UnitCell *ucell);
extern struct gpu_context *setup_gpu(int no_sfac, struct image *image,
double *intensities);
extern void cleanup_gpu(struct gpu_context *gctx);
@@ -32,7 +32,7 @@ extern void cleanup_gpu(struct gpu_context *gctx);
#else
static void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
- int na, int nb, int nc)
+ int na, int nb, int nc, UnitCell *ucell)
{
/* Do nothing */
ERROR("This copy of CrystFEL was not compiled with OpenCL support.\n");