Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit 84c3022

Browse files
authored
Update glow to 0.16 (#254)
Signed-off-by: Samson <[email protected]>
1 parent 042a7af commit 84c3022

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

webxr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ euclid = "0.22"
3333
log = "0.4.6"
3434
openxr = { version = "0.19", optional = true }
3535
serde = { version = "1.0", optional = true }
36-
glow = "0.15"
37-
surfman = { git = "https://github.com/servo/surfman", rev = "e0c34af64f2860bc56bc8a56e1c169a915b16aa3", features = [
36+
glow = "0.16"
37+
surfman = { git = "https://github.com/servo/surfman", rev = "c8d6b4b65aeab739ee7651602e29c8d58ceee123", features = [
3838
"chains",
3939
] }
4040

webxr/openxr/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use euclid::Rotation3D;
99
use euclid::Size2D;
1010
use euclid::Transform3D;
1111
use euclid::Vector3D;
12+
use glow::PixelUnpackData;
1213
use glow::{self as gl, HasContext};
1314
use interaction_profiles::{get_profiles_from_path, get_supported_interaction_profiles};
1415
use log::{error, warn};
@@ -559,7 +560,7 @@ impl LayerManagerAPI<SurfmanGL> for OpenXrLayerManager {
559560
0,
560561
gl::DEPTH_STENCIL,
561562
gl::UNSIGNED_INT_24_8,
562-
None,
563+
PixelUnpackData::Slice(None),
563564
);
564565
depth_stencil_texture
565566
}

webxr/surfman_layer_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
use crate::gl_utils::GlClearer;
88
use euclid::{Point2D, Rect, Size2D};
9-
use glow::{self as gl, Context as Gl, HasContext};
9+
use glow::{self as gl, Context as Gl, HasContext, PixelUnpackData};
1010
use std::collections::HashMap;
1111
use std::num::NonZeroU32;
1212
use surfman::chains::{PreserveBuffer, SwapChains, SwapChainsAPI};
@@ -87,7 +87,7 @@ impl LayerManagerAPI<SurfmanGL> for SurfmanLayerManager {
8787
0,
8888
gl::DEPTH_STENCIL,
8989
gl::UNSIGNED_INT_24_8,
90-
None,
90+
PixelUnpackData::Slice(None),
9191
);
9292
}
9393
self.depth_stencil_textures

0 commit comments

Comments
 (0)