Skip to content

Commit

Permalink
[Docs] Added note to clarify new glfw3 port (#21272)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Feb 6, 2024
1 parent 31e823d commit 1b2a2ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion site/source/docs/compiling/Contrib-Ports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ available in emscripten. In order to use a contrib port you use the
contrib.glfw3
=============

This project is an emscripten port of glfw written in C++ for the web/webassembly platform
This project is an emscripten port of GLFW written in C++ for the
web/webassembly platform.

.. note::
emscripten includes support for both GLFW 2 and 3 written in Javascript.
These can be activated with the :ref:`settings <use_glfw>` ``-sUSE_GLFW=2``
and ``-sUSE_GLFW=3``. This non-official contribution, written in C++,
provides a more extensive and up-to-date implementation of the GLFW 3 API
than the built-in port. It is enabled with the option
``--use-port=contrib.glfw3``.

`Project information <https://github.com/pongasoft/emscripten-glfw>`_

Expand Down
2 changes: 1 addition & 1 deletion tools/ports/contrib/glfw3.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# contrib port information (required)
URL = 'https://github.com/pongasoft/emscripten-glfw'
DESCRIPTION = 'This project is an emscripten port of glfw written in C++ for the web/webassembly platform'
DESCRIPTION = 'This project is an emscripten port of GLFW written in C++ for the web/webassembly platform'
LICENSE = 'Apache 2.0 license'


Expand Down

0 comments on commit 1b2a2ab

Please sign in to comment.