GLArrayDataServer GL_UNSIGNED_INT index buffer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GLArrayDataServer GL_UNSIGNED_INT index buffer

Petr Skramovsky
Hello, I use GLArrayDataServer.createData as my index buffer, with GL_UNSIGNED_SHORT it works as expected. But with GL_UNSIGNED_INT an exception is thrown from GLArrayDataWrapper.getBufferClass and indeed there's no implementation for it. Is this intended for some reason (something like GLES2 doesn't support int as index buffer but i use GL2 profile)? Or is there some way around? I would love to use GLArrayDataServer instead of normal GL calls.
Regards Petr.
Reply | Threaded
Open this post in threaded view
|

Re: GLArrayDataServer GL_UNSIGNED_INT index buffer

gouessej
Administrator
Hi

I see no obvious reason to provide no implementation in this case. Please write a bug report, mark it as an "enhancement".
Julien Gouesse | Personal blog | Website