diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-06-13 22:31:46 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-06-13 22:32:02 +0300 |
commit | 5e626e76645905e71182a9379f0bf86ae3010203 (patch) | |
tree | 74b35e9008b8dbb0e8aa5408e32c8e518c315763 /source/creator | |
parent | 1688a57a8e68a71bf16acea1f78395b19406e601 (diff) |
Fix T61768 Eevee Offscreen rendering
The issue was caused by a bad usage of GPUOffscreen.
The Framebuffer was created using a window framebuffer and used
in a viewport callback when another GPUContext was bound.
This change allows up to 3 framebuffers per GPUOffscreen.
Most common case will be using 2 framebuffers (one for init and
one for drawing) but in the case of more (bad usage) it will just
degrade performance a bit.
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions