The existing code would overwrite the texture's data even if the texture is currently being used to render to screen. This changeset generates a texture for each buffer preventing this invalid usage.
The existing code would overwrite the texture's data even if the texture is currently being used to render to screen. This changeset generates a texture for each buffer preventing this invalid usage.