am 61d6a008
: Merge "hwc test: 64-bit compilation error"
* commit '61d6a00895d2e8b9085278d0acbf98c19e7d6ed5': hwc test: 64-bit compilation error
This commit is contained in:
commit
eac548c65c
@ -574,8 +574,8 @@ void initFrames(unsigned int seed)
|
||||
// mod the wMod/hMod value must be equal to 0.
|
||||
size_t w = (width * maxSizeRatio) * testRandFract();
|
||||
size_t h = (height * maxSizeRatio) * testRandFract();
|
||||
w = max(1u, w);
|
||||
h = max(1u, h);
|
||||
w = max(size_t(1u), w);
|
||||
h = max(size_t(1u), h);
|
||||
if ((w % formatPtr->wMod) != 0) {
|
||||
w += formatPtr->wMod - (w % formatPtr->wMod);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user