Hello, I am trying to implement Awesomium (not the oF addon) into my project.
I made it draw Google to the window, but thats not very exciting. My next step is to make it draw to an ofImage.
My naive attempt was to give ofPixels the buffer from Awesomium.
BitmapSurface* surface = (BitmapSurface*)view->surface(); // bitmap from Awesomium
ofPixels bitmap;
bitmap.setFromPixels(surface->buffer(), 1280, 720, ofImageType::OF_IMAGE_COLOR_ALPHA);
This just crashes on setFromPixels(). Has anyone made Awesomium work in oF? How would I write it to an oF drawable?