Use the same code to zero GPU loop mins from OpenGL and generic GPU code.

Sorry for not implementing this properly to the first place...