Created
April 22, 2013 05:51
-
-
Save ScatteredRay/5432657 to your computer and use it in GitHub Desktop.
sdl rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let window; | |
do str::as_c_str("Project Guava") |cstr| { | |
window = SDL::SDL_CreateWindow(cstr, | |
SDL_WINDOWPOS_CENTERED, | |
SDL_WINDOWPOS_CENTERED, | |
512, 512, | |
(SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN)); | |
} | |
let context = SDL::SDL_GL_CreateContext(window); |
Author
ScatteredRay
commented
Apr 22, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment