Efl.Canvas.Vg.Object: Fix typo 25/243925/1
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 11 Sep 2020 02:46:58 +0000 (11:46 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 11 Sep 2020 07:47:37 +0000 (16:47 +0900)
Summary:
The 3th parameter of ector_buffer_pixels_get is the width.
So chnage px to pw.

Test Plan: N/A

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: cedric, herb, #reviewers, kimcinoo, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12141

Change-Id: I05555f5583bb5a8cadc7bff25422af01731befa8

src/lib/evas/canvas/efl_canvas_vg_object.c

index 93c1855..09fe0fa 100644 (file)
@@ -469,7 +469,7 @@ _evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd,
              int px, py, pw, ph, pstride;
              void *ppixels = NULL;
              ector_buffer_size_get(ector, &pw, &ph);
-             ector_buffer_pixels_get(ector, &ppixels, &px, &ph, &pstride);
+             ector_buffer_pixels_get(ector, &ppixels, &pw, &ph, &pstride);
              Efl_Gfx_Colorspace pcspace = ector_buffer_cspace_get(ector);
              ector_surface_reference_point_get(ector, &px, &py);