summaryrefslogtreecommitdiffstats
path: root/hacks/glx/polytopes.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/polytopes.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/glx/polytopes.c')
-rw-r--r--hacks/glx/polytopes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hacks/glx/polytopes.c b/hacks/glx/polytopes.c
index 333fcde..0c03583 100644
--- a/hacks/glx/polytopes.c
+++ b/hacks/glx/polytopes.c
@@ -3150,6 +3150,8 @@ ENTRYPOINT void draw_polytopes(ModeInfo *mi)
}
+ glClearColor(0.0f,0.0f,0.0f,1.0f);
+ glClearDepth(1.0f);
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
glLoadIdentity();