ywen f087c828cd Fix a GL error leak issue
glFinish() dequeues a native buffer, and it fails when
the bufeer has been abandoned, this is ok and will not
casue the app crash

GL_OUT_OF_MEMORY is generated in this case, and it is
not reset until glGetError called. This is happened in
build layer function, glGetError is called after glTexImg2d,
and get GL_OUT_OF_MEMORY, then this function return as OOM,
and app crash

Fix it by adding a glGetError after glFinish

Change-Id: I8803a726b6f609c4a2f8a6aa6bb7ff7064808932
2015-06-09 17:51:35 +05:30
..
2014-12-12 09:49:29 -08:00
2015-05-06 19:51:33 +00:00
2014-12-12 09:49:29 -08:00
2014-09-05 15:23:38 -07:00
2014-12-12 09:49:29 -08:00
2014-09-05 15:58:26 -07:00
2015-06-09 17:51:35 +05:30
2014-12-12 09:49:29 -08:00
2014-10-31 15:30:10 -07:00
2014-11-07 10:31:53 -08:00
2014-12-12 09:49:29 -08:00
2014-12-12 09:49:29 -08:00
2014-10-27 12:43:25 -07:00
2014-10-27 12:43:25 -07:00
2014-12-12 09:49:29 -08:00
2014-08-27 17:44:25 -07:00
2014-10-31 15:30:10 -07:00
2014-07-31 12:29:57 -07:00
2014-12-12 09:49:29 -08:00
2014-11-07 10:31:53 -08:00
2014-12-12 09:49:29 -08:00
2014-10-31 15:30:10 -07:00
2014-07-25 20:56:50 +00:00
2014-12-12 09:49:29 -08:00
2014-12-12 09:49:29 -08:00
2014-12-12 09:49:29 -08:00
2014-12-12 09:49:29 -08:00
2014-12-12 09:49:29 -08:00
2014-07-24 14:28:08 -07:00
2014-09-10 17:05:59 -07:00