hrydgard/native — pull request #27 by Orphis (2013-01-11 18:04:31+00:00)
Title: Properly restore all the OpenGL states properly and added a sanity check

Also set the proper viewport value at startup.