@Myth wrote:
Hi, I'm trying to extract the colors of the pixels from a texture, but I'm jumping an error. My code is:
Color[] data = new Color[texture.Width * texture.Height];
texture.GetData(data);And the error is:
HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: Unknown
If anyone has any idea what may be happening. Thanks in advance.
Posts: 2
Participants: 2