Releases: node-3d/glfw-raub
Update TS Definitions
TS definition adjustments.
Update Build System
Switched to GitHub Actions.
Rebuilt with GitHub Actions.
Updated dependencies.
Fix ESM support
This patch fixes the error, when there is no process.mainModule
in ESM mode #12
Update dependencies
Rebuilt with new AT dependency.
Resolved vulnerability issue.
Added major
and minor
GL version parameters to Window constructor.
Allow Dependency Patches
- Allow patch releases for dependencies in package.json
Minor Update
- Update AT dependency to fix a vulnerability
- Add OSX core profile shortcut option
osxCore
toWindow
constructor - Add
glfw.platformDevice()
for GL-CL interoperation
Add hideConsole()
-
glfw.hideConsole()
- Windows ONLY hides the console window, but only in case
this console window is property of this process. For instance this works if you use
pkg
module to bundle your app, and then doubleclick the EXE. But if you are running
a command likenode script.js
, then this won't hide the window. It's safe to call
this function on all platforms, but it will be ignored, unless the platform is Windows. -
glfw.showConsole()
- Windows ONLY shows the console window
if it was previously hidden withglfw.hideConsole()
. -
The README was expanded with all the exports of
glfw
. -
There are slight (and still wip) optimizations in
mousemove
event dispatching.
Update segfault dependency
Makes logging segfaults to file optional.
Fixes: Retina, Keyboard, Segfaults
Use Framebuffer size instead of Window size in resize
event. As proposed in the doc.
Keyboard events fixed: fields key
and code
now have correct values.
Fixed occasional onexit segfaults.
Window icon flip flag
Now glfw.setWindowIcon
will look for an optional noflip
flag inside the given Image object. By default, the image gets vertically flipped (which fits image-raub images). Setting the flag to false
will lead to the pixel data being set as is, see the example.