Commit 0aaf624a authored by Nicolai Hähnle's avatar Nicolai Hähnle

fp-generic: Add alpha channel for a full RGBA visual

parent 6cac4d01
...@@ -242,7 +242,7 @@ int main(int argc, char *argv[]) ...@@ -242,7 +242,7 @@ int main(int argc, char *argv[])
glutInitWindowPosition(0, 0); glutInitWindowPosition(0, 0);
glutInitWindowSize(Width, Height); glutInitWindowSize(Width, Height);
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_ALPHA);
glutCreateWindow(argv[0]); glutCreateWindow(argv[0]);
glutReshapeFunc(Reshape); glutReshapeFunc(Reshape);
glutDisplayFunc(Redisplay); glutDisplayFunc(Redisplay);
......
...@@ -5,7 +5,7 @@ tc ...@@ -5,7 +5,7 @@ tc
-0.5 4.5 3.5 1.0 -0.5 4.5 3.5 1.0
tex tex
expected expected
0.25 0.5 0.5 1.0 0.25 0.5 0.5 0.5
!!ARBfp1.0 !!ARBfp1.0
TEMP r0; TEMP r0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment