1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:23:52 +00:00

void pointer workaround

This commit is contained in:
Marc Zinnschlag 2012-02-29 10:13:25 +01:00
parent ed0fa255b0
commit 3c5f8a4a23

View file

@ -278,7 +278,7 @@ void SkyManager::ModVertexAlpha(Entity* ent, unsigned int meshType)
*((uint32*)currentVertex) = tmpR | (tmpG << 8) | (tmpB << 16) | (tmpA << 24); *((uint32*)currentVertex) = tmpR | (tmpG << 8) | (tmpB << 16) | (tmpA << 24);
// Move to the next vertex // Move to the next vertex
pData+=vertex_size; pData = static_cast<unsigned char *> (pData) + vertex_size;
} }
// Unlock // Unlock