glVertexPointer( 2, GL_FLOAT, sizeof( LOCAL_VERTEX ), vertex_table );
Why does this thing generate a GL_INVALID_ENUM ?
He doesn’t give the error when i try it with GL_SHORT.
Could this be a eglChooseConfig problem?
EGLint egl_config_list[] = {
EGL_RED_SIZE, red_bit_count,
EGL_GREEN_SIZE, green_bit_count,
EGL_BLUE_SIZE, blue_bit_count,
EGL_ALPHA_SIZE, alpha_bit_count,
EGL_DEPTH_SIZE, depth_bit_count,
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT,
EGL_NONE
};