mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-01 14:27:59 +03:00
fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data conversion from 'double' to 'int', possible loss of data conversion from 'float' to 'int', possible loss of data
This commit is contained in:
parent
f2ac939e61
commit
e197f5318b
100 changed files with 457 additions and 474 deletions
|
@ -84,7 +84,7 @@ namespace Terrain
|
|||
/// adding or removing passes. This can only be achieved by a full rebuild.)
|
||||
virtual void applyMaterials(bool shadows, bool splitShadows);
|
||||
|
||||
int getMaxBatchSize() { return mMaxBatchSize; }
|
||||
int getMaxBatchSize() { return static_cast<int>(mMaxBatchSize); }
|
||||
|
||||
/// Wait until all background loading is complete.
|
||||
void syncLoad();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue