diff options
Diffstat (limited to 'emulator/opengl')
| -rw-r--r-- | emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp b/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp index 4b88a99..2d6f119 100644 --- a/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp +++ b/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp @@ -41,7 +41,8 @@ bool Range::rangeUnion(const Range& r,Range& rOut) const { } void RangeList::addRange(const Range& r) { - list.push_back(r); + if(r.getSize()) + list.push_back(r); } void RangeList::addRanges(const RangeList& rl) { |
