Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Changelog

Guillaume Piolat edited this page Aug 29, 2015 · 28 revisions

What's new in GFM version 3:

Breaking changes:

  • gfm:image now uses the imageformats package as a dependency. The function for image loading is still loadImage and should work identically. This unbreak JPEG loading.
  • gfm.math.funcs.min and gfm.math.funcs.max were removed since they already exist in std.algorithm.
  • The close()functions are all gone! The new behaviour of destructors is to assert if an actual resource release happen while called by the GC (this assert does not trigger in release mode). So relying on the GC for accidental resource release is now a bug. As a consequence of that, gfm:freeimage, gfm:assimp, gfm:sdl2, gfm:opengl and gfm:enet now have gfm:core as a dependency. You can use .destroy instead to call the destructor for a class object.
  • gfm:mathis not compatible anymore with front-ends prior 2.066

Features:

  • Derelict loaders aren't unloaded anymore when the library object disappear. Should allow eg. other OpenGL libraries to work with GFM.
Clone this wiki locally