Skip to content

Commit

Permalink
updated release notes (Emscripten 4.0.0 released)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Jan 14, 2025
1 parent 982c30a commit ce337ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ GLFW API is 3.4.
[![License](https://img.shields.io/badge/License-Apache%20License%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
![Compiles](https://github.com/pongasoft/emscripten-glfw/actions/workflows/main.yml/badge.svg)

[![emscripten - 3.1.69](https://img.shields.io/badge/emscripten-3.1.69-blue)](https://emscripten.org)
[![contrib.glfw3 - 3.4.0.20241004](https://img.shields.io/badge/contrib.glfw3-3.4.0.20241004-blue)](https://github.com/pongasoft/emscripten-glfw/releases/latest)
[![emscripten - 4.0.0](https://img.shields.io/badge/emscripten-4.0.0-blue)](https://emscripten.org)
[![contrib.glfw3 - 3.4.0.20241230](https://img.shields.io/badge/contrib.glfw3-3.4.0.20241230-blue)](https://github.com/pongasoft/emscripten-glfw/releases/latest)
[![GLFW - 3.4.0](https://img.shields.io/badge/GLFW-3.4.0-blue)](https://www.glfw.org/)

Goal
Expand Down Expand Up @@ -213,6 +213,7 @@ emcc --use-port=contrib.glfw3:disableWarning=true:disableMultiWindow=true main.c
> | Emscripten | this port |
> |------------|----------------|
> | TBD | 3.4.0.20250112 |
> | 4.0.0 | 3.4.0.20241230 |
> | 3.1.69 | 3.4.0.20241004 |
> | 3.1.66 | 3.4.0.20240907 |
> | 3.1.65 | 3.4.0.20240817 |
Expand Down Expand Up @@ -254,11 +255,11 @@ Release Notes
- Added support for `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR`
- Re-enable GL extensions by default (regression introduced in 3.4.0.20241230). Fixes #13.
#### 3.4.0.20241230 - 2024-12-30 | Emscripten TBD
#### 3.4.0.20241230 - 2024-12-30 | 4.0.0
- Added support for offscreen canvas (check [example_offscreen_canvas](examples/example_offscreen_canvas) for a comprehensive example)
#### 3.4.0.20241221 - 2024-12-21 | Emscripten TBD
#### 3.4.0.20241221 - 2024-12-21 | 4.0.0
- Added support for pthread (check [example_pthread](examples/example_pthread) for a comprehensive example)
Expand Down
4 changes: 2 additions & 2 deletions docs/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,12 @@ glfwSetKeyCallback(window, onKeyChange);
## WebGL/OpenGL Support
The `GLFW_CLIENT_API` window hint dictates whether the OpenGL context is created or not
(note that this hint is so to `true` by default).
(note that this hint is set to `true` by default).
In this case, it is a WebGL context created using the Emscripten call `emscripten_webgl_create_context`.
This implementation supports the window hints: `GLFW_CONTEXT_VERSION_MAJOR` and
`GLFW_CONTEXT_VERSION_MINOR` as supported by Emscripten.
`GLFW_CONTEXT_VERSION_MINOR`.
> [!CAUTION]
> At this moment, the Emscripten implementation ignores the major version unless the `-sMAX_WEBGL_VERSION=2` compiler
Expand Down

0 comments on commit ce337ed

Please sign in to comment.