mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
add note to README
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
Rust-SDL2_gfx
|
||||
===============
|
||||
# Rust-SDL2_gfx
|
||||
|
||||
[](https://travis-ci.org/andelf/rust-sdl2_gfx)
|
||||
[](https://drone.io/github.com/andelf/rust-sdl2_gfx/latest)
|
||||
|
||||
Rust bindings for SDL2_gfx
|
||||
|
||||
Requirements
|
||||
------------
|
||||
## Requirements
|
||||
|
||||
* [Rust-sdl2](https://github.com/AngryLawyer/rust-sdl2) or [My Fork](https://github.com/andelf/rust-sdl2)
|
||||
* sdl2_gfx development libraries
|
||||
* Rust master
|
||||
* [Rust-SDL2](https://github.com/AngryLawyer/rust-sdl2) or [My Fork](https://github.com/andelf/rust-sdl2)
|
||||
* [SDL2_gfx](http://sourceforge.net/projects/sdl2gfx/) development libraries
|
||||
* Rust master or nightly
|
||||
|
||||
Installation
|
||||
------------
|
||||
## Installation
|
||||
|
||||
```
|
||||
# compile your rust-sdl2 somewhere
|
||||
@@ -23,8 +20,9 @@ cd rust-sdl2_gfx
|
||||
rustc -L. src/sdl2_gfx/lib.rs
|
||||
```
|
||||
|
||||
Demo
|
||||
----
|
||||
NOTE: sdl2_gfx doesn't support mac_framework.
|
||||
|
||||
## Demo
|
||||
|
||||
```
|
||||
rustc -L. src/demo/gfx_demo.rs
|
||||
|
||||
Reference in New Issue
Block a user