summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/src/opengl/mod.rs1
-rw-r--r--engine/src/renderer/opengl.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/engine/src/opengl/mod.rs b/engine/src/opengl/mod.rs
index 15f40cb..40f0c58 100644
--- a/engine/src/opengl/mod.rs
+++ b/engine/src/opengl/mod.rs
@@ -54,4 +54,5 @@ bitflags! {
pub enum Capability
{
DepthTest = gl::DEPTH_TEST,
+ MultiSample = gl::MULTISAMPLE,
}
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(