Remove 'Default' FBO binding (only allow 'Read' and 'Draw')
Also make code more verbose by removing default mode parameter value to 'FBO::bind'
This commit is contained in:
parent
abc927c91d
commit
6c7d751dbd
5 changed files with 11 additions and 13 deletions
src
|
@ -418,7 +418,7 @@ struct WindowPrivate
|
|||
TEX::allocEmpty(baseTex.width, baseTex.height);
|
||||
TEX::unbind();
|
||||
|
||||
FBO::bind(baseTex.fbo);
|
||||
FBO::bind(baseTex.fbo, FBO::Draw);
|
||||
glState.pushSetViewport(baseTex.width, baseTex.height);
|
||||
glState.clearColor.pushSet(Vec4());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue