GLMeta: Add framebuffer blitting support

This commit is contained in:
Jonas Kulla 2014-07-16 04:48:40 +02:00
parent 7ad6b7b5df
commit a26c73930d
9 changed files with 225 additions and 181 deletions

View file

@ -416,7 +416,7 @@ struct WindowPrivate
TEX::allocEmpty(baseTex.width, baseTex.height);
TEX::unbind();
FBO::bind(baseTex.fbo, FBO::Draw);
FBO::bind(baseTex.fbo, FBO::Generic);
glState.viewport.pushSet(IntRect(0, 0, baseTex.width, baseTex.height));
glState.clearColor.pushSet(Vec4());