forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG #16744: Resources are not removed for a renderer removed from the…
… window. A loop where the render window is kept around and everything in the pipeline is removed and added at the next iteration leaks memory, in OpenGL, linux. For the OpenGL2 backend same loop does not leak. Two problems were fixed. First ReleaseGraphicsResources was not called when a renderer was removed from a render window. Second, for a offscreen render window Mapped was set to 0, which meant that no resources were released.
- Loading branch information
Showing
3 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters