Skip to content

Commit 8b60d02

Browse files
committed
document DRM usage
1 parent b000217 commit 8b60d02

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ In general, to install node-raylib locally, use [npm](https://www.npmjs.com/):
7777
npm install raylib
7878
```
7979
80+
## DRM
81+
On some ARM devices like Raspberry PI, raylib can be used in a DRM mode instead of rendering to an x11 window. This version requires a seperate
82+
native addon, and on installation on ARM devices node-raylib will include both. To use the DRM mode, import `raylib/drm` instead.
83+
8084
### CLI
8185
8286
The project comes with a [`node-raylib`](https://github.com/RobLoach/node-raylib/blob/master/bin/node-raylib) command-line tool to run `node-raylib` files directly:

0 commit comments

Comments
 (0)