Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid memory leak in point-sprite texture swaps #1770
On Xbox, point-sprites must use texture channel 3 (three).
To make point-sprites visible, we already copy the texture reference from channel 3 over to channel 0.
However, all resources retrieved from Direct3D internal state, including textures, must always be
This PR fixes an oversight on this, related to the point-sprite scenario described above.
Other than preventing this leak, there should be no other discernible effect from this change.