Ver código fonte

* free lib handles on finalization

master
Bergmann89 10 anos atrás
pai
commit
baac1343d3
1 arquivos alterados com 8 adições e 1 exclusões
  1. +8
    -1
      glBitmap.pas

+ 8
- 1
glBitmap.pas Ver arquivo

@@ -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.
end.

Carregando…
Cancelar
Salvar