This should be slightly easier to read:
Display*X_display = NULL;
Window X_mainWindow;
ColormapX_cmap;
Visual* X_visual;
GC X_gc;
int X_screen;
XVisualInfo X_visualinfo;
XImage* image = NULL;
int X_width;
int
No, that is not intentional, the original function had x = width-1 and I
forgot to change that for clarity, and yes, the colors are converted
perfectly, by "squashed" I mean what is happening in this image (that is
Doom).
https://postimg.cc/MfRz0Dk7
You see, only 1/4 of the window is being fill