I spent ages trying to figure out why the GL_BLEND (alpha blending) state was changing in my program, and I found that OpenGL sets the GL_BLEND state to false after calling glCl