mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 14:38:12 +00:00
🐛 Cap GPU max texture size at 4096
This commit is contained in:
parent
564cd1b528
commit
2a5c29421f
@ -6,7 +6,7 @@ use skia_safe::gpu::{
|
||||
use skia_safe::{self as skia, ISize};
|
||||
|
||||
const MIN_MAX_TEXTURE_SIZE: i32 = 512;
|
||||
const MAX_MAX_TEXTURE_SIZE: i32 = 8192 * 2;
|
||||
const MAX_MAX_TEXTURE_SIZE: i32 = 4096;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct GpuState {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user