Original Post
I have a byte[] i wish to write to a texture. For some reason I cannot get the texture initialized... Texture t = Texture.FromFile(device, "cheese.jpg"); // Works t.FromMemory(device,frame); // Doesnt work? if(t == null) t = new Texture(device, (int)Width, (int)Height, 1, Usage.Dynamic, Format.X8B8G8R8, Pool.Default); // Doesnt work...? I have the latest build from August and I am wondering if this is a bug in the framework. Any suggestions would be appreciated. Thanks, John