diff options
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 ab26abaf154..9b1c09a6f3a 100644 --- a/src/emu/render.cpp +++ b/src/emu/render.cpp @@ -446,8 +446,8 @@ void render_texture::get_scaled(u32 dwidth, u32 dheight, render_texinfo &texinfo int sheight = m_sbounds.height(); // ensure height/width are non-zero - if (dwidth < 1) dwidth = 1; - if (dheight < 1) dheight = 1; + if (dwidth == 0) dwidth = 1; + if (dheight == 0) dheight = 1; texinfo.unique_id = m_id; texinfo.old_id = m_old_id; |