commit | e3b179c732fde81da0bffecd9579cafd727b3417 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Sun Jan 30 16:50:04 2011 -0800 |
committer | Jamie Gennis <jgennis@google.com> | Mon Jan 31 14:08:23 2011 -0800 |
tree | 87c4098fd50934d76e38a325014745f6f409482e | |
parent | a3b5960f6f28a81cd63abd69adcdfb5dcc05aa30 [diff] |
Clear all EGL errors when entering EGL funcs. This changes the clearError function in the EGL wrapper layer to simply call eglGetError(). That should clear any pending errors from all the underlying EGL implementations, which is needed to correctly report the error for the most recently called EGL function. Change-Id: Iad19c69f0c5305e873f3c2f96d353280d31f7b61