diff options
author | 2016-04-21 07:52:29 +0200 | |
---|---|---|
committer | 2016-04-21 07:52:29 +0200 | |
commit | b1c06acb61c741fc9bcb1bd7428728e291510a39 (patch) | |
tree | 4c94fc0083fb832462b0b746fb98277551f4e87c /src/emu/render.cpp | |
parent | a72ad0c4fe65b507bc4fd17aac580683e289e2fd (diff) |
Implemented handling for u_screen_scale and u_screen_offset (nw)
Diffstat (limited to 'src/emu/render.cpp')
-rw-r--r-- | src/emu/render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.cpp b/src/emu/render.cpp index 129ba82b356..27dab8b7189 100644 --- a/src/emu/render.cpp +++ b/src/emu/render.cpp @@ -922,7 +922,7 @@ render_target::render_target(render_manager &manager, const internal_layout *lay m_base_orientation(ROT0), m_maxtexwidth(65536), m_maxtexheight(65536), - m_transform_primitives(true) + m_transform_container(true) { // determine the base layer configuration based on options m_base_layerconfig.set_backdrops_enabled(manager.machine().options().use_backdrops()); @@ -1766,7 +1766,7 @@ void render_target::add_container_primitives(render_primitive_list &list, const float yoffs = (container_xform.orientation & ORIENTATION_SWAP_XY) ? container.xoffset() : container.yoffset(); if (container_xform.orientation & ORIENTATION_FLIP_X) xoffs = -xoffs; if (container_xform.orientation & ORIENTATION_FLIP_Y) yoffs = -yoffs; - if (!m_transform_primitives) + if (!m_transform_container) { xscale = 1.0f; yscale = 1.0f; |