nickguletskii / GLXOSD

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.
https://glxosd.nickguletskii.com
MIT License
123 stars 20 forks source link

Fix reset of GL_TEXTURE_BINDING_2D #50

Closed ghost closed 8 years ago

ghost commented 8 years ago

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).