dose sfml 2.0 support to load raw data from the memory,cuz every time i try to load data from memory
i get this error "Failed to load image from memory"
ToRGBA(v.getPixels(1,true,true),ar,320,240);// get frame from webcam videoinput.lib and convert it to rgba
t.loadFromMemory(&ar,320*240*4); //t is sf::Texture;
t.bind();
s.setTexture(t);//s is sf::Sprite
App->draw(s);
but in sfml 1.6 sf::Image load the raw data from the memory and display it .
my second question which is not important can i load the data from the memory in the rgb format directly ?