Revert "Fix/macos texture stride align"

This commit is contained in:
RustDesk authored and GitHub committed 2023-03-03 13:18:34 +08:00
1 parent a35e0a1d84
commit 29abda56df
12 files changed
+52 -65

No files matched your search

-7
View File
@@ -39,13 +39,6 @@ pub const CLIPBOARD_INTERVAL: u64 = 333;
pub const SYNC_PEER_INFO_DISPLAYS: i32 = 1;
#[cfg(all(target_os = "macos", feature = "flutter_texture_render"))]
// https://developer.apple.com/forums/thread/712709
// Memory alignment should be multiple of 64.
pub const DST_STRIDE_RGBA: usize = 64;
#[cfg(not(all(target_os = "macos", feature = "flutter_texture_render")))]
pub const DST_STRIDE_RGBA: usize = 1;
// the executable name of the portable version
pub const PORTABLE_APPNAME_RUNTIME_ENV_KEY: &str = "RUSTDESK_APPNAME";