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

Use full path for imports. #8

Merged
merged 1 commit into from Mar 28, 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

Use full path for imports.

  • Loading branch information
metajack committed Mar 28, 2013
commit 5aad076b856bdf461069ce0577fb41d14fb0b135
2 cgl.rs
@@ -1,7 +1,7 @@
// Mac-specific OpenGL bindings.

use gl2::{GLenum, GLint, GLsizei, GLuint};
use libc::*;
use core::libc::*;

pub type CGLContextObj = *c_void;
pub type CGLError = c_int;
4 gl2.rs
@@ -629,8 +629,8 @@ pub fn viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei) {
#[cfg(target_os="macos")]
pub mod apple {
use super::{GLenum, GLsizei};
use cast::transmute;
use vec::raw::to_ptr;
use core::cast::transmute;
use core::vec::raw::to_ptr;

pub unsafe fn texture_range(target: GLenum, buffer: &[u8]) {
super::glTextureRangeAPPLE(target, buffer.len() as GLsizei, transmute(to_ptr(buffer)));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.