Skip to content

Commit

Permalink
Better versionning of GLFW
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed May 7, 2024
1 parent ff32e7e commit 8fda61e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added data/glfw-3.3.8-light.zip
Binary file not shown.
File renamed without changes.
4 changes: 2 additions & 2 deletions getting-started/opening-a-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Opening a window
```{lit-setup}
:tangle-root: 001 - Opening a window
:parent: 000 - Project setup
:fetch-files: ../data/glfw.zip
:fetch-files: ../data/glfw-3.3.8-light.zip
```

*Resulting code:* [`step001`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step001)
Expand All @@ -28,7 +28,7 @@ Another popular choice for window management is the SDL library. It is not as li
Installation of GLFW
--------------------

We do **not need to install** it, we just need to add the code of GLFW to our project directory. Download the file [glfw.zip](../data/glfw.zip) (621 KB) and **unzip** it in your project. This is a stripped down version of the official release where I removed documentation, examples and tests so that it is more **lightweight**.
We do **not need to install** it, we just need to add the code of GLFW to our project directory. Download the file [glfw.zip](../data/glfw-3.3.8-light.zip) (621 KB) and **unzip** it in your project. This is a stripped down version of the official release where I removed documentation, examples and tests so that it is more **lightweight**.

To integrate GLFW in your project, we first add its directory to our root `CMakeLists.txt`:

Expand Down
4 changes: 2 additions & 2 deletions next/getting-started/opening-a-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Opening a window
```{lit-setup}
:tangle-root: 020 - Opening a window - next
:parent: 015 - The Command Queue - next
:fetch-files: ../../data/glfw.zip, ../../data/glfw3webgpu-v1.2.0.zip
:fetch-files: ../../data/glfw-3.4.0-light.zip, ../../data/glfw3webgpu-v1.2.0.zip
```

*Resulting code:* [`step020-next`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step020-next)
Expand All @@ -28,7 +28,7 @@ WebGPU **does not require a window** to draw things actually, it may run headles
Installation of GLFW
--------------------

We do **not really need to install** it, we just need to add the code of GLFW to our project directory. Download the file [glfw.zip](../data/glfw.zip) (621 KB) and **unzip** it in your project. This is a stripped down version of the official release where I removed documentation, examples and tests so that it is more **lightweight**.
We do **not really need to install** it, we just need to add the code of GLFW to our project directory. Download the file [glfw.zip](../data/glfw-3.4.0-light.zip) (780 KB) and **unzip** it in your project. This is a stripped down version of the official release where I removed documentation, examples and tests so that it is more **lightweight**.

To integrate GLFW in your project, we first add its directory to our root `CMakeLists.txt`:

Expand Down

0 comments on commit 8fda61e

Please sign in to comment.