Closed thatcosmonaut closed 3 years ago
This patch prevents buffer overrun on texture uploads and warns if the dataLength value passed in is too long and also refactors SetTextureData2D, 3D, and Cube to use the same internal function.
This patch prevents buffer overrun on texture uploads and warns if the dataLength value passed in is too long and also refactors SetTextureData2D, 3D, and Cube to use the same internal function.