glMapBufferOES returns null, but no error is generated

Put problems with the Android NDK in this forum.

glMapBufferOES returns null, but no error is generated

Postby mohs3n » Tue Jan 25, 2011 8:58 am

Hi,
I'm trying to make a game using ndk. I use glMapBufferOES to update buffer data. However, the function returns NULL and 0 is returned by glGetError as well(which means no error is generated by opengl). Has anyone been able to use this function? is this be a bug?
mohs3n
Freshman
Freshman
 
Posts: 2
Joined: Tue Jan 25, 2011 8:54 am

Top

Re: glMapBufferOES returns null, but no error is generated

Postby mohs3n » Wed Jan 26, 2011 6:12 pm

I just found out that glMapBufferOES is not supported. I thought glMapBuffer is included in vertex_buffer_object extension (on desktop version of OpenGL it is). But, on OpenGL ES it's in a different extension called GL_OES_mapbuffer.
mohs3n
Freshman
Freshman
 
Posts: 2
Joined: Tue Jan 25, 2011 8:54 am

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 3 guests