Open JeanPhilippeKernel opened 9 months ago
Texture2D struct has public APIs that help the creation of monochrome texture.
The current implementation of those methods uses a fixed buffer (image_data) that doesn't scale along the input parameters: width, height.
image_data
The fix should take care of dynamically scale and fill the buffer to correctly create the requested texture2D object
Texture2D struct has public APIs that help the creation of monochrome texture.
The current implementation of those methods uses a fixed buffer (
image_data
) that doesn't scale along the input parameters: width, height.The fix should take care of dynamically scale and fill the buffer to correctly create the requested texture2D object