24c1fdb864
- use StagingBuffer class for copies. - refactor g_device to use array rather than vector. (keeps pointers from moving).