summaryrefslogtreecommitdiff
path: root/progs/xdemos/corender.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/corender.c')
-rw-r--r--progs/xdemos/corender.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/xdemos/corender.c b/progs/xdemos/corender.c
index f2b8145e52..640c902c13 100644
--- a/progs/xdemos/corender.c
+++ b/progs/xdemos/corender.c
@@ -55,6 +55,7 @@ setup_ipc(void)
printf("Waiting for connection from another 'corender'\n");
Sock = AcceptConnection(k);
+ assert(Sock != -1);
printf("Got connection, sending windowID\n");
@@ -186,7 +187,7 @@ redraw(Display *dpy)
* Without this glClear(), depth buffer for the second process
* is pretty much broken.
*/
- //glClear(GL_DEPTH_BUFFER_BIT);
+ /* glClear(GL_DEPTH_BUFFER_BIT); */
glPushMatrix();
glTranslatef(1, 0, 0);