<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - mesa-10.0.2: z-buffer issue with opengl 3.3 context on intel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74010#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - mesa-10.0.2: z-buffer issue with opengl 3.3 context on intel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74010">bug 74010</a>
from <span class="vcard"><a class="email" href="mailto:evgen.ibqn@gmail.com" title="Evgeny Bobkin <evgen.ibqn@gmail.com>"> <span class="fn">Evgeny Bobkin</span></a>
</span></b>
<pre>another issue is that if
glGenVertexArrays (1, &vao_id);
glBindVertexArray (vao_id);
from lines 46-47 are not used and the 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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>