https://bugs.freedesktop.org/show_bug.cgi?id=74010
--- Comment #3 from Evgeny Bobkin <evgen.i...@gmail.com> --- another issue is that if there two lines glGenVertexArrays (1, &vao_id); glBindVertexArray (vao_id); from lines 46-47 are removed and the cube is drawn with glEnableVertexAttribArray (position_id); glBindBuffer (GL_ARRAY_BUFFER, vertex_buffer); glVertexAttribPointer (position_id, 3, GL_FLOAT, GL_FALSE, 0, nullptr); glEnableVertexAttribArray (color_id); glBindBuffer (GL_ARRAY_BUFFER, color_buffer); glVertexAttribPointer (color_id, 3, GL_FLOAT, GL_FALSE, 0, nullptr); glDrawArrays (GL_TRIANGLES, 0, 36); instead of glBindVertexArray (vao_id); glDrawArrays (GL_TRIANGLES, 0, 36); the test case app breaks with a segmentetion fault while using opnegl 3.3 context, however both ways work just fine with the old created context!! -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev