mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
This reverts commit 503bb10c5b
.
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
90130315a7
commit
0fed99590a
13 changed files with 97 additions and 69 deletions
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use std::fmt::Debug;
|
||||
use std::num::NonZeroU32;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
||||
use euclid::{Rect, Size2D};
|
||||
|
@ -287,8 +286,9 @@ pub struct SubImages {
|
|||
#[derive(Clone, Debug)]
|
||||
#[cfg_attr(feature = "ipc", derive(Deserialize, Serialize))]
|
||||
pub struct SubImage {
|
||||
pub color_texture: Option<NonZeroU32>,
|
||||
pub depth_stencil_texture: Option<NonZeroU32>,
|
||||
pub color_texture: u32,
|
||||
// TODO: make this Option<NonZeroU32>
|
||||
pub depth_stencil_texture: Option<u32>,
|
||||
pub texture_array_index: Option<u32>,
|
||||
pub viewport: Rect<i32, Viewport>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue