Displaying 1 result from an estimated 1 matches for "glut_gamma_bug".
2012 Oct 29
3
[Bug 56546] New: crash at the second render when applying gamma correction
...ps://bugs.freedesktop.org/attachment.cgi?id=69256&action=edit
example of the crash
Here a very simple program which illustrate a bug in
driver 2.1 Mesa 8.0.4 when applying a gamma value with opengl.
(The program is OK with driver NVIDIA).
In attachment, the file utc24.tga used by the program glut_gamma_bug.cpp.
Compile the program with the command:
g++ -L/usr/lib64 -lGL -lGLU -lglut -lX11 -lXi -lxcb-glx -lxcb-xlib -ldl
glut_gamma_bug.cpp
Start it with: ./a.out
It will open a small window with an image composed of vertical strips.
Press the enter key (it apply a gamma correction of 3 to the image...