Use Size2D in TexImage2D and TexSubImage2D messages

This commit is contained in:
Anthony Ramine 2018-11-17 11:29:48 +01:00
parent f1dd31f704
commit 2a5539caef
3 changed files with 10 additions and 16 deletions

View file

@ -276,8 +276,7 @@ pub enum WebGLCommand {
target: u32,
level: u32,
internal_format: u32,
width: u32,
height: u32,
size: Size2D<u32>,
format: u32,
data_type: u32,
unpacking_alignment: u32,
@ -288,8 +287,7 @@ pub enum WebGLCommand {
level: u32,
xoffset: i32,
yoffset: i32,
width: u32,
height: u32,
size: Size2D<u32>,
format: u32,
data_type: u32,
unpacking_alignment: u32,