When I call:
eglGetCurrentSurface(EGL10.EGL_DRAW)
I get the response:
java.lang.IllegalArgumentException
at com.google.android.gles_jni.EGLImpl._eglGetCurrentSurface(Native
Method)
at com.google.android.gles_jni.EGLImpl.eglGetCurrentSurface
(EGLImpl.java:101)
This appears to be coming from the 'C' code: frameworks/base/core/jni/
com_google_android_gles_jni_EGLImpl.cpp
if (!(readdraw == EGL_READ) || (readdraw == EGL_DRAW)) {
doThrow(_env, "java/lang/IllegalArgumentException");
return 0;
}
in frameworks/base/opengl/tests/angeles/include/GLES/egl.h we have:
#define EGL_DRAW 0x3059
and in frameworks/base/opengl/java/javax/microedition/khronos/egl/
EGL10.java we have:
int EGL_DRAW = 0x3059;
Anyone got any suggestions as to what may be going wrong here?
Regards,
Keean.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---