<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Triangle disappears with glPolygonMode GL_LINE"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84677#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Triangle disappears with glPolygonMode GL_LINE"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84677">bug 84677</a>
from <span class="vcard"><a class="email" href="mailto:benjamin.foppa@gmail.com" title="Ben Foppa <benjamin.foppa@gmail.com>"> <span class="fn">Ben Foppa</span></a>
</span></b>
<pre>shaders accompanying main.c:
fragment shader:
#version 330 core
out vec4 frag_color;
void main() {
frag_color = vec4(1, 1, 0, 1);
}
vertex shader:
#version 330 core
void main() {
if(gl_VertexID == 0) {
gl_Position = vec4(-1, -1, 0, 1);
} else if(gl_VertexID == 1) {
gl_Position = vec4(1, -1, 0, 1);
} else if(gl_VertexID == 2) {
gl_Position = vec4(-1, 1, 0, 1);
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>