Skip to content

Commit

Permalink
Fixed wrong unsafe textures feature name in README
Browse files Browse the repository at this point in the history
`unsafe-textures` => `unsafe_textures`
  • Loading branch information
ALEX11BR authored Sep 11, 2024
1 parent 400e033 commit 306538f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Rust-SDL2 uses the MIT license, but SDL2 itself is under the zlib license.
* `mixer` to link against SDL2\_mixer and have access to sound mixing features
* `ttf` to link against SDL2\_ttf and have access to various font features
* `raw-window-handle` to enable the crate `raw-window-handle`, which is useful to interop with various other backends.
* `unsafe-textures` to not have a lifetime in `Texture` structs. Texture are only freed when the program exits, or can be done manually through `unsafe`.
* `unsafe_textures` to not have a lifetime in `Texture` structs. Texture are only freed when the program exits, or can be done manually through `unsafe`.
* `use-bindgen` to customize bindings instead of using pre-generated `sdl_bindings` which were created from a Linux environment. It generates your own custom SDL2 bindings, tailored to your distro. Useful for specific window-related scenarios.
* `use-vcpkg` to pull SDL2 from vcpkg instead of looking in your system.
* `use-pkgconfig` use pkg-config to detect where your library is located on your system. Mostly useful on unix systems for static linking.
Expand Down

0 comments on commit 306538f

Please sign in to comment.