mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Call rgba8_byte_swap_colors_inplace on the WebGL thread
This commit is contained in:
parent
2c0acf6b9b
commit
cfca906ee2
8 changed files with 57 additions and 70 deletions
|
@ -18,6 +18,8 @@ pub enum PixelFormat {
|
|||
/// RGB, 8 bits per channel
|
||||
RGB8,
|
||||
/// RGB + alpha, 8 bits per channel
|
||||
RGBA8,
|
||||
/// BGR + alpha, 8 bits per channel
|
||||
BGRA8,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue