* preliminary version for OpenGL ES support