Skip to main content

EGL_BAD_NATIVE_SURFACE

1 reply [Last post]
Anonymous

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?

--
mvh Björn

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Riggs

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 listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".