This method does not need to copy pixel data greatly improving performance. The doom framebuffer data is already in a format that Xlib can accept so all we need to do is a single XPutImage call whenever the engine wants us to draw a frame.