Posted by
Sven Gothel on
Aug 25, 2010; 11:53am
URL: https://forum.jogamp.org/RFC-OpenGL-3-3-4-0-and-4-1-support-tp1314485p1328750.html
On Tuesday, August 24, 2010 22:58:54 Matt [via jogamp] wrote:
>
> Hi,
>
> Thanks for bringing JOGL up to date with GL versions!
>
> I just want to report that the following functions:
>
> GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei
> count, GLsizei primcount);
> GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count,
> GLenum type, const GLvoid *indices, GLsizei primcount);
> GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat,
> GLuint buffer);
>
> have been removed after last commits from gl3.h file, and become now
> unavailable in GL3 java interface.
> One have to cast the invocations to GL2 interface because this is where they
> landed.
> I think it's improper, because according to the spec and man pages (
>
http://www.opengl.org/sdk/docs/man3/ ) these functions are part of GL3.3
> core profile.
Thank you for finding these.
Of course they should be in.
I have moved them to the extensions (which they actually are part of):
GL_ARB_draw_instanced
GL_ARB_texture_buffer_object
and subsumed them into core with the 'RenameExtensionIntoCore' command.
This should allow them to be part of GL2GL3 as well.
As it seems - there is a bug, ie it doesn't work, I will look at it now.
~Sven
--
health & wealth
mailto:
[hidden email] ;
http://jausoft.comland : +49 (471) 4707742 ; cell: +49 (151) 28145941
Timezone CET: PST+9, EST+6, UTC+1