projects
/
glBitmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c49cc
)
* free lib handles on finalization
author
Bergmann89
<bergmann89@muo-game.de>
Sun, 24 Nov 2013 14:49:09 +0000
(15:49 +0100)
committer
Bergmann89
<bergmann89@muo-game.de>
Sun, 24 Nov 2013 14:49:09 +0000
(15:49 +0100)
glBitmap.pas
patch
|
blob
|
history
diff --git
a/glBitmap.pas
b/glBitmap.pas
index
7c6e840
..
07317a3
100644
(file)
--- a/
glBitmap.pas
+++ b/
glBitmap.pas
@@
-8559,8
+8559,15
@@
initialization
finalization
TFormatDescriptor.Finalize;
+{$IFDEF GLB_NATIVE_OGL}
+ if Assigned(GL_LibHandle) then
+ glbFreeLibrary(GL_LibHandle);
+
{$IFDEF GLB_NATIVE_OGL_DYNAMIC}
+ if Assigned(GLU_LibHandle) then
+ glbFreeLibrary(GLU_LibHandle);
FreeAndNil(InitOpenGLCS);
{$ENDIF}
+{$ENDIF}
-end.
\ No newline at end of file
+end.