summaryrefslogtreecommitdiff
path: root/client/src/render
diff options
context:
space:
mode:
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,