diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-05-29 17:22:57 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-05-29 18:37:47 -0700 |
| commit | c8e35e9a7c27897ebcc7a4f6b49c1ed25280b0ff (patch) | |
| tree | 27ffd48ba083a12c266b1f323f234f48939c13a4 /src/cairo-shapes.cpp | |
| parent | f644706d726f055853bfa4b8ac7e7cbd1c6ecd40 (diff) | |
cairo-shapes: Drop unused height and width when creating bitmap patterns
Diffstat (limited to 'src/cairo-shapes.cpp')
| -rw-r--r-- | src/cairo-shapes.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-shapes.cpp b/src/cairo-shapes.cpp index 5ca5cef..3cb8b4b 100644 --- a/src/cairo-shapes.cpp +++ b/src/cairo-shapes.cpp @@ -54,8 +54,6 @@ cairoCreateBitmapPattern (const char *image_path) cairo_surface_t *image = NULL; cairo_pattern_t *pattern; image = cairo_image_surface_create_from_png (image_path); - int w = cairo_image_surface_get_width (image); - int h = cairo_image_surface_get_height (image); pattern = cairo_pattern_create_for_surface (image); return pattern; } |