Redefind header files. And move unregister GraphicsResource to DestroyGlut()