mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Fix the data type sent in tex_sub_image_2d
This commit is contained in:
parent
65d1b11929
commit
1675991b12
1 changed files with 3 additions and 1 deletions
|
@ -825,7 +825,9 @@ impl WebGLRenderingContext {
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
format: format.as_gl_constant(),
|
format: format.as_gl_constant(),
|
||||||
data_type: data_type.as_gl_constant(),
|
data_type: self
|
||||||
|
.extension_manager
|
||||||
|
.effective_type(data_type.as_gl_constant()),
|
||||||
receiver,
|
receiver,
|
||||||
});
|
});
|
||||||
sender.send(&pixels).unwrap();
|
sender.send(&pixels).unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue