Add note about SDL2 installation instructions

This commit is contained in:
Patrick Walton 2019-05-02 11:19:07 -07:00
parent 66b5142334
commit cf3aadc4f2
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ Running the demo is as simple as:
$ cd demo/native $ cd demo/native
$ RUSTFLAGS="-C target-cpu=native" cargo run --release $ RUSTFLAGS="-C target-cpu=native" cargo run --release
The SDL 2 library requires some additional manual installation steps. Follow the
[`rust-sdl2` installation instructions](https://github.com/Rust-SDL2/rust-sdl2#sdl20-development-libraries) to make sure the libraries are installed.
On macOS, it is recommended that you force the use of the integrated GPU, as issues with Apple's On macOS, it is recommended that you force the use of the integrated GPU, as issues with Apple's
OpenGL drivers may limit performance on discrete GPUs. You can use OpenGL drivers may limit performance on discrete GPUs. You can use
[gfxCardStatus.app](https://gfx.io/) for this. [gfxCardStatus.app](https://gfx.io/) for this.