Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest Rust #10

Merged
merged 1 commit into from Aug 8, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update to latest Rust

  • Loading branch information
kmcallister committed Aug 8, 2013
commit 4a423d91c44fa70cb3ac048c4273327b25f51407
@@ -179,7 +179,7 @@ pub fn bind_surface_to_texture(context: &GraphicsContext, surface: &IOSurface, s
size.height as GLsizei,
BGRA as GLenum,
UNSIGNED_INT_8_8_8_8_REV,
transmute(copy surface.obj),
transmute(surface.obj.clone()),
0);
assert!(gl_error == kCGLNoError);
}
@@ -197,7 +197,7 @@ impl ShareContext for Context {
let context = init_cgl();

// Create the surface.
let surface = init_surface(copy size);
let surface = init_surface(size.clone());

// Create a framebuffer.
let framebuffer = gl2::gen_framebuffers(1)[0];
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.