coregl_fastpath_egl: Check type before retrieving object 48/82848/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Sun, 7 Aug 2016 17:54:28 +0000 (01:54 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Tue, 9 Aug 2016 02:27:07 +0000 (19:27 -0700)
commita9e31dec2d59c11edac1effd3569adb2ce558173
tree65eee42f5283daed4cf968cb580e01f8d31acd34
parent14eedde5354e3a97368d520b3779fcc25464bb83
coregl_fastpath_egl: Check type before retrieving object

Object type of argument buffer maybe either
TEXTURE or RENDERBUFFER, check it

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I5468ef8105d29a6c655b064f2b2406dc9b1655e6
src/modules/fastpath/coregl_fastpath_egl.c