diff options
author | Vicent Marti | 2008-08-01 20:19:37 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-01 20:19:37 +0000 |
commit | 44d91bfa81d638a75b81a079edaa046ff4778194 (patch) | |
tree | ba4e39233c060d2f0ac6d984d349b476eb055ced /graphics/VectorRenderer.cpp | |
parent | a15ebfb73a1863636ed2ab6aba000118cfb6af54 (diff) | |
download | scummvm-rg350-44d91bfa81d638a75b81a079edaa046ff4778194.tar.gz scummvm-rg350-44d91bfa81d638a75b81a079edaa046ff4778194.tar.bz2 scummvm-rg350-44d91bfa81d638a75b81a079edaa046ff4778194.zip |
Massive changes to the renderer in order to replicate the current GUI theme, as requested by Eugene
svn-id: r33507
Diffstat (limited to 'graphics/VectorRenderer.cpp')
-rw-r--r-- | graphics/VectorRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 5ac976c251..3bd3b86cf8 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -517,7 +517,7 @@ template<typename PixelType, typename PixelFormat> void VectorRendererSpec<PixelType, PixelFormat>:: drawTab(int x, int y, int r, int w, int h) { if (x + w > Base::_activeSurface->w || y + h > Base::_activeSurface->h || - w <= 0 || h <= 0 || x < 0 || y < 0 || (r << 1) > w || (r << 1) > h) + w <= 0 || h <= 0 || x < 0 || y < 0 || r > w || r > h) return; switch (Base::_fillMode) { |