Skip to content

Commit

Permalink
[GeometryPool] Fixed wrongly disposed shader caches
Browse files Browse the repository at this point in the history
  • Loading branch information
aszabo314 committed Jul 24, 2023
1 parent 2b1f8e5 commit dacfd9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 5.4.5
- [GeometryPool] Fixed wrongly disposed shader caches

### 5.4.4
- Exceptions are caught and logged when updating shaders with the debugger
- [GL] Fixed resource management issue with compute shaders and shader debugger, resulting in invalid operation errors
Expand Down
2 changes: 0 additions & 2 deletions src/Aardvark.Rendering.GL/Runtime/GeometryPool.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1234,8 +1234,6 @@ module GeometryPoolData =
NativePtr.free mem
ctx.Delete buffer
if bounds then
culling.Dispose()
boxShader.Dispose()
NativePtr.free bmem
ctx.Delete bbuffer
capacity <- 0
Expand Down

0 comments on commit dacfd9b

Please sign in to comment.