Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Update glow to 0.16 #254

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = [
sagudev marked this conversation as resolved.
Show resolved Hide resolved
"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
Loading