ecore_wl2: fix ecore_wl2_buffer_wl_buffer_get
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 26 Jan 2018 19:30:31 +0000 (13:30 -0600)
committerJiyoun Park <jy0703.park@samsung.com>
Tue, 3 Apr 2018 13:12:55 +0000 (22:12 +0900)
commit409614fde416b04e9c7bd4d4028117e7f1fccfde
treea86d016c268dba174600716e91661fdf5fdd208e
parent8e29937b173571e79116624736f3be4cd21305c5
ecore_wl2: fix ecore_wl2_buffer_wl_buffer_get

It was currently only used internally and had the side effect of
creating a new buffer instead of just returning the existing one.

Now it's useful to external callers, as it only returns the existing
wl_buffer and has no freaky side effects.
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_buffer.c