coregl: Clear GL error after getting state 26/85526/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Thu, 25 Aug 2016 01:15:07 +0000 (09:15 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Fri, 26 Aug 2016 12:11:38 +0000 (05:11 -0700)
commitebb209707b77d306845250167152827630788283
tree4a0c5407686309818fdafaeeb4dc0f1597618127
parentce119e6ed19e74ce7a5f33ac6f75b5f131d25796
coregl: Clear GL error after getting state

Getting state in function fastpath_dump_context_states
and tracepath_dump_context_states is possible failed,
but it's acceptable due to GL API version difference,
so clear the possible GL error after getting state.

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I35cf758aa999498f001e2463c2b7988bc4579071
src/modules/fastpath/coregl_fastpath.c
src/modules/tracepath/coregl_tracepath.c