reset changes made by check_opengl, per function
Merge pull request #99 from l3iggs/patch-1

reset changes made by check_opengl, per function