- Initial release
- Fixed issue when deleting a texture while binding a new one
- Fixed build issue when using without windowing enabled
- Fixed negative overflow issue where monitor size is misdetected or less than window size
- No longer specifies core profile for GL 2.0 (fixes issue on Macs)
- Setting multisampling level to 16 by default
- Ensure event loop gets woken up when redrawing on Windows
- Fix error on some platforms due to GL shader program validation
WindowCreationOptions::with_resizable()
WindowCreationOptions::with_always_on_top()
WindowCreationOptions::with_maximized()
WindowCreationOptions::with_decorations()
Graphics2D::create_image_from_file_path()
Graphics2D::create_image_from_file_bytes()
GLRenderer::create_image_from_file_path()
GLRenderer::create_image_from_file_bytes()
GLRenderer::new_for_gl_context()
, to create aGLRenderer
from a GL loader function
Graphics2D::draw_image()
is now able to take a tuple as a position- When creating an image from raw bytes, the number of bytes is checked
- Fixed texture load issues where the horizontal byte stride was not a multiple of 4
- Now works correctly in Wayland
- Fixed error when primary monitor is not found
- Fixed issue with lines under text when a dark background and antialiasing are used
Thanks to Revertron:
Graphics2D::set_clip()
ModifiersState::default()
- WebGL support introduced
WebCanvas
, providing full rendering and event handling for an HTML canvasGLRenderer::new_for_web_canvas_by_id()
, for rendering only (no event handling)- The
time
module, for access to the system clock in a cross-platform way.
WindowHandler::on_mouse_grab_status_changed()
WindowHandler::on_fullscreen_status_changed()
- Ensure that mouse position is scaled using device pixel ratio