[Bug 84677] Triangle disappears with glPolygonMode GL_LINE
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Oct 4 17:48:18 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84677
--- Comment #1 from Ben Foppa <benjamin.foppa at gmail.com> ---
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);
}
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20141005/d7d913f7/attachment.html>
More information about the intel-3d-bugs
mailing list