GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
GLXOSD was changing the texture binding for texture unit 0, then afterwards resetting it for the previously active texture unit instead of the texture unit we modified.
GLXOSD was changing the texture binding for texture unit 0, then afterwards resetting it for the previously active texture unit instead of the texture unit we modified.
This fixes the intro video corruption in XCOM (https://github.com/nickguletskii/GLXOSD/issues/19#issuecomment-138137600) and Outlast (#46).