Skip to content

Instantly share code, notes, and snippets.

@laserpilot
Created June 19, 2013 20:41
Show Gist options
  • Save laserpilot/5817851 to your computer and use it in GitHub Desktop.
Save laserpilot/5817851 to your computer and use it in GitHub Desktop.
FBO on iPad
//FBO Stuff
ofFbo::Settings settings;
settings.width = 2048;
settings.height = 2048;
settings.internalformat = GL_RGBA;
settings.numSamples = 0;
settings.useDepth = false;
settings.useStencil = false;
fboNew.allocate(settings);
fboNew.begin();
ofClear(0, 0, 0, 0);
fboNew.end();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment