mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Globe browsing: fix implicit conversion errors and remove warnings (#393)
* Fix implicit conversion errors and remove warnings.
This commit is contained in:
committed by
Alexander Bock
parent
b1110c9eee
commit
7aceb54bec
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user