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

[WIP] Rewrite WebGLRenderingContext to use typed array APIs #15143

Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add a *mut JSContent Argument to validate_tex_image_2d_data method

  • Loading branch information
yysung1123 committed Jan 22, 2017
commit 5dac3c23f3bcfe4aae436ca1e3486c338c4aef1b
@@ -436,7 +436,8 @@ impl WebGLRenderingContext {
height: u32,
format: TexFormat,
data_type: TexDataType,
data: *mut JSObject)
data: *mut JSObject,
cx: *mut JSContext)
-> Result<u32, ()> {
let element_size = data_type.element_size();
let components_per_element = data_type.components_per_element();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.