Skip to content

v2.0.0

Compare
Choose a tag to compare
@W2Wizard W2Wizard released this 02 Mar 13:41
· 409 commits to master since this release
42MLX_Logo

Version: 2.0.0

This update is a major jump from v1.0.0, as of now MLX42 will no longer follow the norme as explained and mentioned in the announcement #16. Needles to say this makes incompatible API changes.

Feature Summary

  • Added mlx_put_string.
  • Switched to using error codes instead, code won't have to be rewritten, instead you can now get the error if any occured via mlx_strerror and g_mlx_errno instead of having the error directly omitted onto the terminal.
  • Added proper makefile support to windows
  • General improvement in peformance and rendering
  • Improved stability and error handling
  • Re-wrote the implementation of hooks to be more clean
  • Renamed mlx_putpixel to mlx_put_pixel to stay consistent with naming the convention.
  • Improved documentation for the internal header
  • Some more stuff I forgot :D

Bug Fixes

  • Fixed a bug in the XPM3 -> XPM42 converter, sometimes some text values would not convert correctly.
  • Fixed an issue in the python script shader converter.
  • Fixed a bug that would cause the application to crash when minimizing the window on Windows.
  • Fixed a bug where mlx_get_monitor_size would not return 0 if it did not find a monitor.
  • Fixed an issue where deletion of an image would cause a segfault.