fix: vram issues

This commit is contained in:
Nova
2024-07-26 06:32:36 -04:00
parent 13815d4d20
commit 78912c8f1b
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,6 @@ fn stereokit_loop(
.overlay_priority(args.overlay_priority.unwrap_or(u32::MAX))
.disable_desktop_input_window(true)
.origin(OriginMode::Local)
.render_scaling(2.0)
.init()
.expect("StereoKit failed to initialize");
info!("Init StereoKit");

View File

@@ -17,7 +17,7 @@ use parking_lot::Mutex;
use smithay::backend::allocator::dmabuf::Dmabuf;
use smithay::backend::egl::EGLContext;
use smithay::backend::renderer::gles::GlesRenderer;
use smithay::backend::renderer::ImportDma;
use smithay::backend::renderer::{ImportDma, Renderer};
use smithay::output::Output;
use smithay::reexports::wayland_server::backend::ClientId;
use smithay::reexports::wayland_server::DisplayHandle;
@@ -195,6 +195,7 @@ impl Wayland {
for core_surface in CORE_SURFACES.get_valid_contents() {
core_surface.process(&mut self.renderer);
}
let _ = self.renderer.cleanup_texture_cache();
self.display.flush_clients(None);
}