summaryrefslogtreecommitdiff
path: root/ufo/ufo-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufo/ufo-buffer.c')
-rw-r--r--ufo/ufo-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/ufo-buffer.c b/ufo/ufo-buffer.c
index 853cd54..5a69a78 100644
--- a/ufo/ufo-buffer.c
+++ b/ufo/ufo-buffer.c
@@ -214,9 +214,9 @@ alloc_device_image (UfoBufferPrivate *priv)
{
cl_image_format format;
cl_mem_flags flags;
- cl_int err;
gsize width, height, depth;
cl_mem mem = NULL;
+ cl_int err = CL_SUCCESS;
g_assert ((priv->requisition.n_dims == 2) ||
(priv->requisition.n_dims == 3));