mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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,
|
||||
height,
|
||||
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,
|
||||
});
|
||||
sender.send(&pixels).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue