Allow creating textures from pixmaps