summaryrefslogtreecommitdiff
path: root/client/src/render
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-25 01:09:28 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-25 01:09:28 +0100
commit0163f8486ceca8bd6897c1074f6846f36827d040 (patch)
tree16656b39011328c2ee9bda11730616afafe8fe18 /client/src/render
parent1caf7aefcc29602a21fa8a400c897b576be238a8 (diff)
downloadweareserver-0163f8486ceca8bd6897c1074f6846f36827d040.tar
weareserver-0163f8486ceca8bd6897c1074f6846f36827d040.tar.bz2
weareserver-0163f8486ceca8bd6897c1074f6846f36827d040.tar.zst
funny cursor animation
Diffstat (limited to 'client/src/render')
-rw-r--r--client/src/render/mod.rs2
-rw-r--r--client/src/render/scene/mod.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/render/mod.rs b/client/src/render/mod.rs
index c3ee7da..6964337 100644
--- a/client/src/render/mod.rs
+++ b/client/src/render/mod.rs
@@ -43,7 +43,7 @@ pub struct Renderer<'a> {
surface: Surface<'a>,
queue: Arc<Queue>,
device: Arc<Device>,
- surface_configuration: SurfaceConfiguration,
+ pub surface_configuration: SurfaceConfiguration,
scene_pipeline: ScenePipeline,
pub ui_renderer: UiRenderer,
pub scene_prepare: Arc<ScenePreparer>,
diff --git a/client/src/render/scene/mod.rs b/client/src/render/scene/mod.rs
index 96c8ba4..7471fc8 100644
--- a/client/src/render/scene/mod.rs
+++ b/client/src/render/scene/mod.rs
@@ -145,7 +145,6 @@ impl ScenePreparer {
downloader: Arc<Downloader>,
) -> Self {
Self {
- // TODO normal mipmap requires linear texture, also demand map?
render_format,
config: GraphicsConfig {
max_anisotropy: 16,