diff options
-rw-r--r-- | cvg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ capture(gpointer userdata) if (cvg->input_surface) cairo_surface_destroy(cvg->input_surface); - cvg->image = cvCreateImage(cvSize(image->width, image->height), + cvg->image = cvCreateImage(cvGetSize(image), image->depth, image->nChannels); cvCopy(image, cvg->image, NULL); if (!cvg->image) |