d682ab72c5b7781109b0f30ac16202441fb925d6 |
|
04-Dec-2009 |
Jack Palevich <jackpal@google.com> |
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"
/frameworks/base/opengl/java/com/google/android/gles_jni/EGLImpl.java
|