This commit is contained in:
Timon
2026-07-10 02:50:18 +00:00
parent 3ac0d819e7
commit 24c5cb23ad
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -15,9 +15,11 @@ pub(crate) enum TextureImportError {
InvalidHandle(String),
#[error("Unsupported texture format: {format:?}")]
UnsupportedFormat { format: cef_color_type_t },
#[cfg(not(target_os = "macos"))]
#[error("Hardware acceleration not available: {reason}")]
HardwareUnavailable { reason: String },
#[error("Vulkan operation failed: {operation}")]
#[cfg(target_os = "linux")]
VulkanError { operation: String },
#[error("Platform-specific error: {message}")]
PlatformError { message: String },
+1 -1
View File
@@ -23,7 +23,7 @@ pub(crate) struct HostHandle {
child: Arc<Mutex<Child>>,
shutting_down: Arc<AtomicBool>,
died_reported: Arc<AtomicBool>,
#[cfg_attr(not(feature = "accelerated_paint"), expect(dead_code))]
#[cfg_attr(any(not(feature = "accelerated_paint"), target_os = "windows"), expect(dead_code))]
host_acceleration: bool,
#[cfg(target_os = "windows")]
_job: Option<platform::win::KillOnCloseJob>,