summaryrefslogtreecommitdiffstats
path: root/progs/trivial/quad-offset-factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/quad-offset-factor.c')
-rw-r--r--progs/trivial/quad-offset-factor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/quad-offset-factor.c b/progs/trivial/quad-offset-factor.c
index 861d3461c04..becc885ebc5 100644
--- a/progs/trivial/quad-offset-factor.c
+++ b/progs/trivial/quad-offset-factor.c
@@ -149,7 +149,7 @@ int main(int argc, char **argv)
glutInitWindowPosition(0, 0); glutInitWindowSize( 250, 250);
- type = GLUT_RGB | GLUT_DEPTH;
+ type = GLUT_RGB | GLUT_ALPHA | GLUT_DEPTH;
type |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;
glutInitDisplayMode(type);