Send alignment info directly in TexImage2D and TexSubImage2d messages

This commit is contained in:
Anthony Ramine 2018-11-15 10:39:01 +01:00
parent 1675991b12
commit 1c89ac90b9
3 changed files with 10 additions and 20 deletions

View file

@ -280,6 +280,7 @@ pub enum WebGLCommand {
height: u32,
format: u32,
data_type: u32,
unpacking_alignment: u32,
receiver: IpcBytesReceiver,
},
TexSubImage2D {
@ -291,6 +292,7 @@ pub enum WebGLCommand {
height: u32,
format: u32,
data_type: u32,
unpacking_alignment: u32,
receiver: IpcBytesReceiver,
},
DrawingBufferWidth(WebGLSender<i32>),