diff options
author | Henry Song <henry.song@samsung.com> | 2013-10-25 11:50:04 -0700 |
---|---|---|
committer | nisanthmp <nisanth.mp@samsung.com> | 2015-06-12 12:23:35 +0530 |
commit | 79c4fb4424514fc62ae0a0de66cc99da41d0c83f (patch) | |
tree | abdef02d0fc441f81f327828fc11ec736d5f24d8 | |
parent | 577769f397800ea947a800a2a3c110dd53ef8b72 (diff) | |
download | cairo-79c4fb4424514fc62ae0a0de66cc99da41d0c83f.tar.gz cairo-79c4fb4424514fc62ae0a0de66cc99da41d0c83f.tar.bz2 cairo-79c4fb4424514fc62ae0a0de66cc99da41d0c83f.zip |
gl: fix typo in getting blur extents dimensions
-rw-r--r-- | src/cairo-gl-operand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c index ec30ed4a8..8ed24e28b 100644 --- a/src/cairo-gl-operand.c +++ b/src/cairo-gl-operand.c @@ -507,7 +507,7 @@ _cairo_gl_subsurface_operand_init (cairo_gl_operand_t *operand, return status; blur_extents.x = blur_extents.y = 0; - blur_extents.width = cairo_gl_surface_get_height (&surface->base); + blur_extents.width = cairo_gl_surface_get_width (&surface->base); blur_extents.height = cairo_gl_surface_get_height (&surface->base); blur_surface = _cairo_gl_gaussian_filter (dst, src, surface, &blur_extents); @@ -659,7 +659,7 @@ _cairo_gl_surface_operand_init (cairo_gl_operand_t *operand, return status; blur_extents.x = blur_extents.y = 0; - blur_extents.width = cairo_gl_surface_get_height (&surface->base); + blur_extents.width = cairo_gl_surface_get_width (&surface->base); blur_extents.height = cairo_gl_surface_get_height (&surface->base); blur_surface = _cairo_gl_gaussian_filter (dst, src, surface, &blur_extents); |