Skip to content

Commit

Permalink
Update glow to 0.16 (#254)
Browse files Browse the repository at this point in the history
Signed-off-by: Samson <[email protected]>
  • Loading branch information
sagudev authored Nov 19, 2024
1 parent 042a7af commit 84c3022
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webxr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ euclid = "0.22"
log = "0.4.6"
openxr = { version = "0.19", optional = true }
serde = { version = "1.0", optional = true }
glow = "0.15"
surfman = { git = "https://github.com/servo/surfman", rev = "e0c34af64f2860bc56bc8a56e1c169a915b16aa3", features = [
glow = "0.16"
surfman = { git = "https://github.com/servo/surfman", rev = "c8d6b4b65aeab739ee7651602e29c8d58ceee123", features = [
"chains",
] }

Expand Down
3 changes: 2 additions & 1 deletion webxr/openxr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use euclid::Rotation3D;
use euclid::Size2D;
use euclid::Transform3D;
use euclid::Vector3D;
use glow::PixelUnpackData;
use glow::{self as gl, HasContext};
use interaction_profiles::{get_profiles_from_path, get_supported_interaction_profiles};
use log::{error, warn};
Expand Down Expand Up @@ -559,7 +560,7 @@ impl LayerManagerAPI<SurfmanGL> for OpenXrLayerManager {
0,
gl::DEPTH_STENCIL,
gl::UNSIGNED_INT_24_8,
None,
PixelUnpackData::Slice(None),
);
depth_stencil_texture
}
Expand Down
4 changes: 2 additions & 2 deletions webxr/surfman_layer_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use crate::gl_utils::GlClearer;
use euclid::{Point2D, Rect, Size2D};
use glow::{self as gl, Context as Gl, HasContext};
use glow::{self as gl, Context as Gl, HasContext, PixelUnpackData};
use std::collections::HashMap;
use std::num::NonZeroU32;
use surfman::chains::{PreserveBuffer, SwapChains, SwapChainsAPI};
Expand Down Expand Up @@ -87,7 +87,7 @@ impl LayerManagerAPI<SurfmanGL> for SurfmanLayerManager {
0,
gl::DEPTH_STENCIL,
gl::UNSIGNED_INT_24_8,
None,
PixelUnpackData::Slice(None),
);
}
self.depth_stencil_textures
Expand Down

0 comments on commit 84c3022

Please sign in to comment.