From 32f0e6efac8b51dbdc11b390b64753227cbb6180 Mon Sep 17 00:00:00 2001 From: ImJezze Date: Wed, 13 Apr 2016 19:21:57 +0200 Subject: Removed hacks for vector screens from shaders (nw) - added handling of texture coordinates for vector screens to core render - added handling of orientation/rotation for vector screens to D3D renderer --- src/osd/modules/osdwindow.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/osd/modules/osdwindow.h') diff --git a/src/osd/modules/osdwindow.h b/src/osd/modules/osdwindow.h index 60d2cccc700..1361ff50c9f 100644 --- a/src/osd/modules/osdwindow.h +++ b/src/osd/modules/osdwindow.h @@ -134,8 +134,7 @@ public: bool orientation_swap_xy = (machine().system().flags & ORIENTATION_SWAP_XY) == ORIENTATION_SWAP_XY; bool rotation_swap_xy = - (target()->orientation() & ROT90) == ROT90 || - (target()->orientation() & ROT270) == ROT270; + (target()->orientation() & ORIENTATION_SWAP_XY) == ORIENTATION_SWAP_XY; return orientation_swap_xy ^ rotation_swap_xy; }; -- cgit v1.2.3-70-g09d2