add note to README

This commit is contained in:
Andelf
2014-04-16 19:37:05 +08:00
parent 35357cca3f
commit b8504c48aa
+9 -11
View File
@@ -1,20 +1,17 @@
Rust-SDL2_gfx
===============
# Rust-SDL2_gfx
[![Build Status](https://travis-ci.org/andelf/rust-sdl2_gfx.svg?branch=master)](https://travis-ci.org/andelf/rust-sdl2_gfx)
[![Build Status](https://drone.io/github.com/andelf/rust-sdl2_gfx/status.png)](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