- fixed the remaining warnings.

This commit is contained in:
Christoph Oelckers 2021-05-12 17:57:36 +02:00
parent cf22a70d82
commit cb2bc7967a
13 changed files with 47 additions and 47 deletions

View file

@ -84,8 +84,8 @@ void GLInstance::Draw(EDrawType type, size_t start, size_t count)
{
assert (BufferLock > 0);
applyMapFog();
renderState.vindex = start;
renderState.vcount = count;
renderState.vindex = (int)start;
renderState.vcount = (int)count;
renderState.primtype = type;
rendercommands.Push(renderState);
clearMapFog();