The glutInit() function in the original GLUT expects argv[0] to be the
program name (as from main()), not a NULL pointer. A strrchr() call
crashes on NULL.
For now, set argv[0]=piglit. Previously, glutInit would get the
program path/name and it would appear in the window title.
This seems to
Seems a good idea to me.
Jose
- Original Message -
The glutInit() function in the original GLUT expects argv[0] to be
the
program name (as from main()), not a NULL pointer. A strrchr() call
crashes on NULL.
For now, set argv[0]=piglit. Previously, glutInit would get the
program
On 10/15/2012 10:30 AM, Brian Paul wrote:
The glutInit() function in the original GLUT expects argv[0] to be the
program name (as from main()), not a NULL pointer. A strrchr() call
crashes on NULL.
For now, set argv[0]=piglit. Previously, glutInit would get the
program path/name and it