diff options
author | Sven Gothel <[email protected]> | 2014-09-18 03:59:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-18 03:59:04 +0200 |
commit | 91508fb026746c8b659e29bd7e62678e6aff892a (patch) | |
tree | 71ce3cc1ae9e642053b909d94c8beeb03e3009e1 /src/newt | |
parent | aee2343620d0426fb7275a75a95c24eb4a4ccd83 (diff) |
GLFBODrawableImpl: Utilize common self-contained setupFBO(..) method for FBO creation incl. Bug 1020 glClear(..) ; Fixes missing fbo.unbind(gl)
Utilize common self-contained setupFBO(..) method for FBO creation incl. Bug 1020 glClear(..)
initialize(..) and reset(..)'s fallback code
contained duplicated FBO setup/creation code.
The former was updated to suite the new FBO mode bits,
where the latter left untouched, hence was buggy.
Now setup and creation of a single FBO has been merged into setupFBO(..).
Fixes missing fbo.unbind(gl):
We did no issue unbind() on each fbo instance
while adding the workaround for Bug 1020.
Adding fbo.markUnbound() call to all fbos but the last.
Note: This might not cause any issues, since fbo.bind(gl) tests the currently bound fbo.
Diffstat (limited to 'src/newt')
0 files changed, 0 insertions, 0 deletions