[HOTFIX] Avoid duplication of surface_formats in querying 62/148862/2
authorxuelian.bai <xuelian.bai@samsung.com>
Mon, 11 Sep 2017 13:03:25 +0000 (21:03 +0800)
committerHoyub Lee <hoyub.lee@samsung.com>
Thu, 14 Sep 2017 00:04:20 +0000 (09:04 +0900)
commit91e0c9ea8e1d6c94efb5981fe5b15d466d0cd9f5
tree1101e7911d150b445a7bdb7bdbdbbaaa923aff94
parent5a7e7034e37b21f765fc7e1467fa4697e6c22f3d
[HOTFIX] Avoid duplication of surface_formats in querying

Currently, tbm formats and vulkan formats are not mapped perfectly.
By this, in querying supported formats with tpl_get_surface_formats(),
duplication occurs in supported formats.

Therefore, apply hotfix to avoid duplicated results.

Change-Id: I28474c462276d1549142ae2300695b1680e59832
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
src/wsi/surface.c