Globe browsing: fix implicit conversion errors and remove warnings (#393)

* Fix implicit conversion errors and remove warnings.
This commit is contained in:
Kalle Bladin
2017-09-01 18:03:31 +02:00
committed by Alexander Bock
parent b1110c9eee
commit 7aceb54bec
24 changed files with 67 additions and 71 deletions
+2 -2
View File
@@ -294,8 +294,8 @@ void MemoryAwareTileCache::update() {
const size_t ByteToMegaByte = 1024 * 1024;
_cpuAllocatedTileData.setValue(dataSizeCPU / ByteToMegaByte);
_gpuAllocatedTileData.setValue(dataSizeGPU / ByteToMegaByte);
_cpuAllocatedTileData.setValue(static_cast<int>(dataSizeCPU / ByteToMegaByte));
_gpuAllocatedTileData.setValue(static_cast<int>(dataSizeGPU / ByteToMegaByte));
}
size_t MemoryAwareTileCache::getGPUAllocatedDataSize() const {