I'm experiencing issues similar to described in this question, which was never answered. Basicly when I'm calling
glVertexAttribPointer
with stride greater than this exact value: 640
. OpenGL GL_INVALID_VALUE error is raised. According to documentation such an arror can be raised in one case:
GL_INVALID_VALUE is generated if stride is negative.
Which is obviously not my case.
In OpenGL 4.4 the maximum value is specified and set to GL_MAX_VERTEX_ATTRIB_STRIDE
according to this site
Is there a certain magic number in older versions of OpenGL (3.3 in my case) for a maximum vertex stride? Is there any other reason that this function can raise GL_INVALID_VALUE
?