summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawogl.cpp
diff options
context:
space:
mode:
author Ariane Fugmann <sailorsat@t-online.de>2016-06-06 19:19:22 +0200
committer Ariane Fugmann <sailorsat@t-online.de>2016-06-06 19:19:22 +0200
commit2293caeae45ee2816a3237b452d4e4927de5f29c (patch)
tree8eb36f8aa689796355f2608b0e162927da9dde16 /src/osd/modules/render/drawogl.cpp
parent6ee9d158377f96a42c6b0f8967d9e7b1010b5b29 (diff)
parent6fbb28f063b358d62dd8822b548da604a3b95e25 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master' into mamedev/master
Diffstat (limited to 'src/osd/modules/render/drawogl.cpp')
-rw-r--r--src/osd/modules/render/drawogl.cpp24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/osd/modules/render/drawogl.cpp b/src/osd/modules/render/drawogl.cpp
index 57173e8e2a4..77acf017790 100644
--- a/src/osd/modules/render/drawogl.cpp
+++ b/src/osd/modules/render/drawogl.cpp
@@ -1085,22 +1085,14 @@ int renderer_ogl::draw(const int update)
// we're doing nothing 3d, so the Z-buffer is currently not interesting
glDisable(GL_DEPTH_TEST);
- if (win->machine().options().antialias())
- {
- // enable antialiasing for lines
- glEnable(GL_LINE_SMOOTH);
- // enable antialiasing for points
- glEnable(GL_POINT_SMOOTH);
-
- // prefer quality to speed
- glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
- glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
- }
- else
- {
- glDisable(GL_LINE_SMOOTH);
- glDisable(GL_POINT_SMOOTH);
- }
+ // enable antialiasing for lines
+ glEnable(GL_LINE_SMOOTH);
+ // enable antialiasing for points
+ glEnable(GL_POINT_SMOOTH);
+
+ // prefer quality to speed
+ glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
+ glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
// enable blending
glEnable(GL_BLEND);