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

Added vertex_attrib_pointer_i32 #31

Merged
merged 1 commit into from May 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

Added vertex_attrib_pointer_i32

  • Loading branch information
Jeaye
Jeaye committed May 8, 2013
commit 274f0ad0b15ff85630f229e2053405089a8ff25c
15 gl2.rs
@@ -970,6 +970,21 @@ pub fn vertex_attrib_pointer_i8(index: GLuint,
}
}

pub fn vertex_attrib_pointer_i32(index: GLuint,
size: GLint,
normalized: bool,
stride: GLsizei,
offset: GLuint) {
unsafe {
ll::glVertexAttribPointer(index,
size,
INT,
normalized as GLboolean,
stride,
transmute(offset as uint));
}
}

pub fn vertex_attrib_pointer_u8(index: GLuint,
size: GLint,
normalized: bool,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.