summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-06-05 23:50:44 +0200
committer ImJezze <jezze@gmx.net>2016-06-05 23:50:44 +0200
commit6ea15072a718b093e3688d22f7f6954e44e383b6 (patch)
treeb65e08cad8e07f8ce1f5f52f7e2438181cad158b /src/emu
parent396c2a094622e742e96ab3d16a72dfca4e498eaf (diff)
Procedural texture for vectors in HLSL
* added simple procedural texture for vectors with rounded line ends and beam smoothness * added optional -vector_beam_smooth option * removed -antialias option, antialiasing is now always applied, except for plain D3D
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/emuopts.cpp1
-rw-r--r--src/emu/emuopts.h2
-rw-r--r--src/emu/rendutil.cpp2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index 1b99a55e1ba..dc799ca235b 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -120,7 +120,6 @@ const options_entry emu_options::s_option_entries[] =
// vector options
{ nullptr, nullptr, OPTION_HEADER, "CORE VECTOR OPTIONS" },
- { OPTION_ANTIALIAS ";aa", "1", OPTION_BOOLEAN, "use antialiasing when drawing vectors" },
{ OPTION_BEAM_WIDTH_MIN, "1.0", OPTION_FLOAT, "set vector beam width minimum" },
{ OPTION_BEAM_WIDTH_MAX, "1.0", OPTION_FLOAT, "set vector beam width maximum" },
{ OPTION_BEAM_INTENSITY_WEIGHT, "0", OPTION_FLOAT, "set vector beam intensity weight " },
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h
index 2b6630d38dd..e3ae4bda6d8 100644
--- a/src/emu/emuopts.h
+++ b/src/emu/emuopts.h
@@ -108,7 +108,6 @@
#define OPTION_EFFECT "effect"
// core vector options
-#define OPTION_ANTIALIAS "antialias"
#define OPTION_BEAM_WIDTH_MIN "beam_width_min"
#define OPTION_BEAM_WIDTH_MAX "beam_width_max"
#define OPTION_BEAM_INTENSITY_WEIGHT "beam_intensity_weight"
@@ -295,7 +294,6 @@ public:
const char *effect() const { return value(OPTION_EFFECT); }
// core vector options
- bool antialias() const { return bool_value(OPTION_ANTIALIAS); }
float beam_width_min() const { return float_value(OPTION_BEAM_WIDTH_MIN); }
float beam_width_max() const { return float_value(OPTION_BEAM_WIDTH_MAX); }
float beam_intensity_weight() const { return float_value(OPTION_BEAM_INTENSITY_WEIGHT); }
diff --git a/src/emu/rendutil.cpp b/src/emu/rendutil.cpp
index ee78ad5125d..8fa5b1b7046 100644
--- a/src/emu/rendutil.cpp
+++ b/src/emu/rendutil.cpp
@@ -535,7 +535,7 @@ void render_line_to_quad(const render_bounds *bounds, float width, float length_
bounds1->x0 = modbounds.x1 - unity;
bounds1->y0 = modbounds.y1 + unitx;
- /* rotate the unit vector by -09 degrees and add to point 1 */
+ /* rotate the unit vector by -90 degrees and add to point 1 */
bounds1->x1 = modbounds.x1 + unity;
bounds1->y1 = modbounds.y1 - unitx;
}