GLMeta: Add framebuffer blitting support
This commit is contained in:
parent
7ad6b7b5df
commit
a26c73930d
9 changed files with 225 additions and 181 deletions
src
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue