Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Can't allocate ofFbo via Emscripten

$
0
0

@chuckleplant wrote:

I can render ofImages, however I cannot do this:

    ofFbo fbo;
    fbo.allocate(100,100,GL_RGBA);`

Here's a minimal (non) working example

FBOEmscripten.zip (10.8 KB)

The error shows:

exception thrown: abort(5) at Error
    at jsStackTrace (http://localhost:6931/fboEms.js:1:23216)
    at stackTrace (http://localhost:6931/fboEms.js:1:23387)
    at abort (http://localhost:6931/fboEms.js:36:170505)
    at Array._8b (http://localhost:6931/fboEms.js:29:116330)
    at waa (http://localhost:6931/fboEms.js:17:97076)
    at uaa (http://localhost:6931/fboEms.js:17:93500)
    at Array.Ze (http://localhost:6931/fboEms.js:5:864)
    at Array.of (http://localhost:6931/fboEms.js:5:1579)
    at Array.i9 (http://localhost:6931/fboEms.js:17:63744)
    at Ij (http://localhost:6931/fboEms.js:5:59937)

Right at

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles