dbce3455ad
Fixes a possible crash when width is greater than stride, which can happen due to alignment when copying textures.