projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
[mesa.git]
/
progs
/
xdemos
/
corender.c
diff --git
a/progs/xdemos/corender.c
b/progs/xdemos/corender.c
index f2b8145e52b4ac297e32d1f41bf9d50ed8f282bc..e706f4b3da51c795862596a863448e959e3bb524 100644
(file)
--- a/
progs/xdemos/corender.c
+++ b/
progs/xdemos/corender.c
@@
-20,7
+20,6
@@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <X11/keysym.h>
#include <unistd.h>
#include "ipc.h"
#include <X11/keysym.h>
#include <unistd.h>
#include "ipc.h"
@@
-55,6
+54,7
@@
setup_ipc(void)
printf("Waiting for connection from another 'corender'\n");
Sock = AcceptConnection(k);
printf("Waiting for connection from another 'corender'\n");
Sock = AcceptConnection(k);
+ assert(Sock != -1);
printf("Got connection, sending windowID\n");
printf("Got connection, sending windowID\n");
@@
-186,7
+186,7
@@
redraw(Display *dpy)
* Without this glClear(), depth buffer for the second process
* is pretty much broken.
*/
* 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);
glPushMatrix();
glTranslatef(1, 0, 0);