mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use Size2D in TexImage2D and TexSubImage2D messages
This commit is contained in:
parent
f1dd31f704
commit
2a5539caef
3 changed files with 10 additions and 16 deletions
|
@ -1046,8 +1046,7 @@ impl WebGLImpl {
|
|||
target,
|
||||
level,
|
||||
internal_format,
|
||||
width,
|
||||
height,
|
||||
size,
|
||||
format,
|
||||
data_type,
|
||||
unpacking_alignment,
|
||||
|
@ -1059,8 +1058,8 @@ impl WebGLImpl {
|
|||
target,
|
||||
level as i32,
|
||||
internal_format as i32,
|
||||
width as i32,
|
||||
height as i32,
|
||||
size.width as i32,
|
||||
size.height as i32,
|
||||
0,
|
||||
format,
|
||||
data_type,
|
||||
|
@ -1072,8 +1071,7 @@ impl WebGLImpl {
|
|||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
size,
|
||||
format,
|
||||
data_type,
|
||||
unpacking_alignment,
|
||||
|
@ -1086,8 +1084,8 @@ impl WebGLImpl {
|
|||
level as i32,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width as i32,
|
||||
height as i32,
|
||||
size.width as i32,
|
||||
size.height as i32,
|
||||
format,
|
||||
data_type,
|
||||
&receiver.recv().unwrap(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue