openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

Cannot allocate FBO #154

Open mrkva opened 11 years ago

mrkva commented 11 years ago

Hi,

I am trying to allocate one fbo with these options:

    ofFbo::Settings settings;
    settings.internalformat = GL_RGBA;
    settings.numSamples = 1;
    settings.useDepth = false;
    settings.useStencil = false;
    settings.width = 2480;
    settings.height = 3508;
    fbo.allocate(settings);

But I get this error: [ofFbo:error] FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Any tips? I am getting desperate. I tried numSamples = 0, same result.

Thanks a lot!

jvcleave commented 11 years ago

that is quite large - I would try and increase your GPU memory