commit | d682ab72c5b7781109b0f30ac16202441fb925d6 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Fri Dec 04 17:07:31 2009 +0800 |
committer | Jack Palevich <jackpal@google.com> | Fri Dec 04 17:07:31 2009 +0800 |
tree | a474f497ea34b3a20ed3da1f1cef30d67fd743f8 | |
parent | 39b082356851e29ba7a0af981eaa27d3b08a387b [diff] |
Improve error reporting by always returning the public EGL10.EGL_NO_XXX objects for displays, surfaces, and contexts. This allows clients to compare the returned object against the public EGL10.EGL_NO_XXX object using a simple == operation. This fixes bug 2303947 "Java layer EGL API makes it difficult to tell when certain methods have failed"