Re: EGL_BAD_NATIVE_SURFACE
Roger Riggs <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi BJörn, The JSR 239 EG decided to use the Khronos API documentation for corresponding Java methods to avoid any drift in interpretation or semantics. With respect to EGL_BAD_NATIVE_SURFACE, eglWaitNative contains an old error copied from the OpenGL ES 1.0 C documentation. Later revisions of the OpenGL ES documentation refer to EGL_BAD_CURRENT_SURFACE instead. The value in EGL10 is: int EGL_BAD_CURRENT_SURFACE = 0x3007; Roger BJörn Lindqvist wrote: > EGL10.eglWaitGL > (http://java.sun.com/javame/reference/apis/jsr239/javax/microedition/khronos/egl/EGL10.html#eglWaitGL()) > says that: > > "EGL_BAD_NATIVE_SURFACE is generated if..." > > But there seem to be no EGL_BAD_NATIVE_SURFACE constant defined in the > package. is that a typo, and if so, what error code is really > generated? > > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".