Download Latest Version RGFW 1.8.1 source code.zip (2.0 MB)
Email in envelope

Get an email when there's a new version of Riley's Graphics library FrameWork

Home / 1.70
Name Modified Size InfoDownloads / Week
Parent folder
RGFW-1.70_win64_zig.zip 2025-05-06 203.9 kB
RGFW-1.70_win64_msvc16.zip 2025-05-06 234.0 kB
RGFW-1.70_win64_mingw-w64.zip 2025-05-06 159.2 kB
RGFW-1.70_macos.tar.gz 2025-05-06 223.2 kB
RGFW-1.70_linux_amd64.tar.gz 2025-05-06 171.4 kB
README.md 2025-05-06 4.4 kB
RGFW v1.7.0 source code.tar.gz 2025-05-06 1.8 MB
RGFW v1.7.0 source code.zip 2025-05-06 1.8 MB
Totals: 8 Items   4.6 MB 5

This release focuses on improving bug fixes and supporting more edge cases. It also continues to work towards feature parity with GLFW.

breaking changes: - Rename RGFW_window_checkFPS to RGFW_checkFPS - Change RGFW_window_setShouldClose(RGFW_window) to RGFW_window_setShouldClose(RGFW_window, RGFW_BOOL) - Rename RGFW_setMouseNotifyCallBackRGFW_setMouseNotifyCallback - Rename windowResizeCallbackwindowResizedCallback - Rename windowMoveCallbackwindowMovedCallback - Change return type of RGFW_getProcAddress to RGFW_proc - event.inFocus removed — use RGFW_window_isInFocus() instead


major changes: - Event Queue Rewrite - Replace internal event passing system (WASM, WinAPI, macOS) with RGFW_eventQueuePush / RGFW_eventQueuePop - Platform-Independent Timing - RGFW_getTime and RGFW_getTimeNS now platform-independent - Add RGFW_setTime (called with 0 at window init) - New OpenGL and Buffer Management - Add RGFW_window_swapBuffers_software and RGFW_window_swapBuffers_OpenGL - Add RGFW_window_initOpenGL and RGFW_window_freeOpenGL - Add RGFW_proc typedef and update RGFW_getProcAddress - Default multisampling is now 0 (more consistent with GLFW) - Improved Software Rendering Support - Better macOS and wasm software rendering - Use direct software rendering in wasm (no OpenGL required) - Flags and Focus Enhancements - Add RGFW_windowFreeOnClose, RGFW_windowFocusOnShow - Add RGFW_windowFocus and RGFW_windowFocus flag - New Events - RGFW_windowMaximized - RGFW_windowMinimized - RGFW_windowRestored - Cross-Platform Improvements - Add RGFW_init and RGFW_deinit - Make CLOCK_MONOTONIC default where supported - BeginPaint/EndPaint now called properly (Windows) - Fix client area scaling issues (Windows) - Monitor and Window Enhancements - RGFW_getMonitors now takes a size_t* len argument - Better monitor resolution detection - Fix X11 clipboard and waitEvent bugs - Add RGFW_ADVANCED_SMOOTH_RESIZE (WinAPI, X11)


all changes:

fixes: - Fix RGFW_window_setFlags overwrite bugs - Fix C++ compilation issues - Fix bugs with Unix timers and macOS warnings - Fix X11 and Cocoa waitEvent behavior - Fix OpenGL fallback and function loading (GLX, EGL, WGL) - Fix software rendering support (macOS, OSMesa, wasm) - Fix key input for non-latin and non-evdev X11 users - Fix monitor resolution detection - Fix gear and multi-window examples - Fix icons and transparency (macOS, Windows) - Fix memory alignment and window flags initialization - Ensure BeginPaint / EndPaint used correctly (Windows)

new features: - Add RGFW_eventQueuePush / RGFW_eventQueuePop - Add RGFW_windowFreeOnClose - Add RGFW_windowFocusOnShow - Add RGFW_window_isInFocus - Add RGFW_windowFocus flag - Add RGFW_windowMaximized, RGFW_windowMinimized, RGFW_windowRestored events - Add RGFW_ATOF macro - Add RGFW_proc and update function loading - Add RGFW_window_swapBuffers_software, RGFW_window_swapBuffers_OpenGL - Add RGFW_init, RGFW_deinit - Add premake build file - Add examples/gears/gears, examples/multi-window/multi-window - Add RGFW_BUFFER_BGR, rename RGFW_X11_DONT_CONVERT_BGR - Add fallback for glXCreateContextAttribsARB - Add swapInterval to WGL loading

miscellaneous: - Only allow transparency if RGFW_windowTransparent is enabled - Make depth default to 24 if transparency is off - Use timeEndPeriod for better Windows timing - Default buffer size to window size if not resizable - Refactor default bool types (RGFW_INT_DEFINED, RGFW_BOOL_DEFINED) - (MSVC) Avoid linking opengl32.dll unless RGFW_OPENGL is used - Simplify EGL context creation - Update OpenGL context fallback for Nvidia/GLX - Fix flipped image in OSMesa (wasm)


compatibility: - Tested with Zig - Improved MSVC, macOS, wasm, X11, and EGL/OSMesa support


notes: This version continues the work from 1.6 to refine the API while introducing more robust internal systems for events, rendering, and timing.

Source: README.md, updated 2025-05-06