mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Send alignment info directly in TexImage2D and TexSubImage2d messages
This commit is contained in:
parent
1675991b12
commit
1c89ac90b9
3 changed files with 10 additions and 20 deletions
|
@ -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>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue