Hi all,
I’ve spent wasted time on getting glLineWidth to work on a core profile.
I think that I was fooled by GL_TRIANGLE vs. GL_TRIANGLES too,
but I’m passed that.
glDrawElements(…) is another case.
It’s an obvious function to use in many situations,
and “The OpenGL Programming Guide for opengl 3.0 & 3.1” (ver. 7)
describes how to use it. I’ve not found any hints that it should be deprecated.
It will not work on my pc, so I looked through the opengl-extensions viewer
and found no mentioning of it. …
That gives sense to all my vane attemts, but how can it not be present
and yet not throw a glError? And why is it not present? My driver is ver 3.3.
cheers
>more squabble<
I’ve got the “OpenGL SuperBible” 5.th.
It includes the OpenGL Man Pages for (core) OpenGL 3.3
The glDrawElements() family of functions has what looks like
a disclaimer. I don’t understand.
quote
Vertex attributes that are modified by glDrawElements have an
unspecified value after glDrawElements returns. Attributes that
aren’t modified maintain their values.
unquote
??? My thinking goes along the lines of:
I modify something by say writing to a buffer. That’s not
my impression of what I do when I Draw.
What does this ‘disclaimer’ mean?