diff options
author | 2016-06-05 23:50:44 +0200 | |
---|---|---|
committer | 2016-06-05 23:50:44 +0200 | |
commit | 6ea15072a718b093e3688d22f7f6954e44e383b6 (patch) | |
tree | b65e08cad8e07f8ce1f5f52f7e2438181cad158b /src/devices/video/vector.cpp | |
parent | 396c2a094622e742e96ab3d16a72dfca4e498eaf (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/devices/video/vector.cpp')
-rw-r--r-- | src/devices/video/vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/vector.cpp b/src/devices/video/vector.cpp index 8606fe666aa..53286f3c623 100644 --- a/src/devices/video/vector.cpp +++ b/src/devices/video/vector.cpp @@ -145,7 +145,7 @@ void vector_device::clear_list(void) UINT32 vector_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - UINT32 flags = PRIMFLAG_ANTIALIAS(machine().options().antialias() ? 1 : 0) | PRIMFLAG_BLENDMODE(BLENDMODE_ADD) | PRIMFLAG_VECTOR(1); + UINT32 flags = PRIMFLAG_ANTIALIAS(1) | PRIMFLAG_BLENDMODE(BLENDMODE_ADD) | PRIMFLAG_VECTOR(1); const rectangle &visarea = screen.visible_area(); float xscale = 1.0f / (65536 * visarea.width()); float yscale = 1.0f / (65536 * visarea.height()); |