diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-24 00:10:06 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-24 00:10:06 -0400 |
commit | 1a686e024828bdca1c67603560d4bf622dc6f8d1 (patch) | |
tree | 32638727f3a26d7b055d84780d01575bd1d76931 | |
parent | x11 (diff) | |
download | raycaster-1a686e024828bdca1c67603560d4bf622dc6f8d1.tar.gz raycaster-1a686e024828bdca1c67603560d4bf622dc6f8d1.tar.bz2 raycaster-1a686e024828bdca1c67603560d4bf622dc6f8d1.zip |
remove old debug x11 code
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c index dca9b79..064c794 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1,5 +1,4 @@ #include "screen.h" -#include <X11/X.h> #undef Screen #include <math.h> @@ -10,6 +9,7 @@ #include <sys/select.h> #define XLIB_ILLEGAL_ACCESS +#include <X11/X.h> #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -38,10 +38,6 @@ static void init_x() { exit(EXIT_FAILURE); } -#ifdef DEBUG - XSynchronize(dpy, True); -#endif - scr = DefaultScreen(dpy); root = RootWindow(dpy, scr); |