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