aboutsummaryrefslogtreecommitdiffstats
path: root/emulator
diff options
context:
space:
mode:
authorAlessandro Pignotti <alexpigna.dev@gmail.com>2013-07-30 11:01:08 +0200
committerAlessandro Pignotti <a.pignotti@sssup.it>2013-07-30 17:43:25 +0200
commitda87b5727ac72b524b381a2801a5a5f52024f2b1 (patch)
treecaa9e2cd6025ccd97bbc914751ac12c345de75a3 /emulator
parentbe3b71eb1f30ebaf063d0df63e1f082844df24a3 (diff)
downloadsdk-da87b5727ac72b524b381a2801a5a5f52024f2b1.zip
sdk-da87b5727ac72b524b381a2801a5a5f52024f2b1.tar.gz
sdk-da87b5727ac72b524b381a2801a5a5f52024f2b1.tar.bz2
Fix rangeUnion return value in the successful case
Even if the ranges can be merge rangeUnion was returning false. Most probably this was a typo. Change-Id: I4cf8a19bd701a8501c2d49cf0bfa996f9e12c02f
Diffstat (limited to 'emulator')
-rw-r--r--emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp b/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp
index 5ba609b..4b88a99 100644
--- a/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp
+++ b/emulator/opengl/host/libs/Translator/GLcommon/RangeManip.cpp
@@ -35,7 +35,7 @@ bool Range::rangeUnion(const Range& r,Range& rOut) const {
int size = max_end - min_start;
if(size) {
rOut.setRange(min_start,max_end-min_start);
- return false;
+ return true;
}
return false;
}