Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=7984
------- Additional Comments From [EMAIL PROTECTED] 2006-08-24 09:33 -------
Here is a full Glut program that causes the bug for me:
#include <stdlib.h>
#include <stdio.h>
#include <GL/gl.h>
#include <GL/glut.h>
// Compile with: gcc -g -Wall -lGL -lglut broken.c -o broken
static void renderScene(void)
{
glClear(GL_COLOR_BUFFER_BIT);
glNewList(4, GL_COMPILE_AND_EXECUTE); // Must be GL_COMPILE_AND_EXECUTE
glBegin(GL_TRIANGLES);
for(i = 0; i < 1000; i++) // Must be large to occur in one frame
{
glVertex3f(-0.8, -0.8, 1.0);
glVertex3f(0.8, -0.8, 1.0);
glVertex3f(0.0, 0.8, 1.0);
}
glGetError(); // Removing this removes the bug
glEnd();
glEndList();
printf("OpenGL error = %i\n", glGetError());
glFlush();
}
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DEPTH | GLUT_SINGLE | GLUT_RGBA);
glutInitWindowPosition(100,100);
glutInitWindowSize(320,320);
glutCreateWindow("Mesa bug?");
glutDisplayFunc(renderScene);
glutMainLoop();
return 1;
}
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev