Fixed windows int64 issue
Old Windows OpenGL code cleanup