I think the image you are drawing onto the texture is transparent, but the texture itself isn't.
If you are using CreateTexture, the masked/alpha flags don't work. There is a workaround for it, but I forgot which one, look a bit at previous topics. A very lousy workaround is saving the image, then loading the file as a texture with the right transparency flags. With textures, the transparent color is allways black.
If you are using CreateTexture, the masked/alpha flags don't work. There is a workaround for it, but I forgot which one, look a bit at previous topics. A very lousy workaround is saving the image, then loading the file as a texture with the right transparency flags. With textures, the transparent color is allways black.