summaryrefslogtreecommitdiff
path: root/engine/src/renderer/opengl.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-24 23:30:00 +0200
committerHampusM <hampus@hampusmat.com>2024-05-24 23:30:13 +0200
commit05bd5ccbc5dd9bd8516162ac9a253e2d99be3ba9 (patch)
tree3515030229d6311b6f23cdf351495e4401e412f1 /engine/src/renderer/opengl.rs
parent96c29ed9bef2221a57fa8ebe94a8c9a281f76b48 (diff)
fix(engine): enable OpenGL multisampling on renderer init
Diffstat (limited to 'engine/src/renderer/opengl.rs')
-rw-r--r--engine/src/renderer/opengl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/src/renderer/opengl.rs b/engine/src/renderer/opengl.rs
index 8cafe0d..8c416f0 100644
--- a/engine/src/renderer/opengl.rs
+++ b/engine/src/renderer/opengl.rs
@@ -91,6 +91,7 @@ fn initialize(window: Single<Window>)
});
enable(Capability::DepthTest);
+ enable(Capability::MultiSample);
}
fn render(