diff options
author | Sven Gothel <[email protected]> | 2023-03-15 03:26:30 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-15 03:26:30 +0100 |
commit | c01a4ad712cfa2d1f8746daf161d9052c8acfccd (patch) | |
tree | 4f8a033905d0ffc63329f44726a9ea88c0b2977f /src/demos/com | |
parent | 00dbacc5af3531af50e77a02d534dc11e08de10f (diff) |
Fix ShaderProgram ownership bug, introduced in commit 67a723477ecd818fbc5859fe20ee536a3b4efae5 (reverting and clarifying)
All Graph ShaderPrograms used are owned by RegionRenderer, not RenderState nor [GL]Region*,
hence [GL]Region* shall only nullify the resources but not destroy the shader currently in use.
One RegionRenderer maybe used for multuple Regions.
Diffstat (limited to 'src/demos/com')
0 files changed, 0 insertions, 0 deletions