1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-23 10:11:33 +00:00

camelCase

This commit is contained in:
Bret Curtis 2018-01-01 16:32:20 +01:00
parent 7a7b040216
commit 93f14c219c
2 changed files with 3 additions and 3 deletions

View file

@ -153,12 +153,12 @@ void NiPixelData::read(NIFStream *nif)
// Unknown // Unknown
nif->skip(12); nif->skip(12);
number_of_mipmaps = nif->getInt(); numberOfMipmaps = nif->getInt();
// Bytes per pixel, should be bpp * 8 // Bytes per pixel, should be bpp * 8
/* int bytes = */ nif->getInt(); /* int bytes = */ nif->getInt();
for(int i=0; i<number_of_mipmaps; i++) for(int i=0; i<numberOfMipmaps; i++)
{ {
// Image size and offset in the following data field // Image size and offset in the following data field
Mipmap m; Mipmap m;

View file

@ -115,7 +115,7 @@ public:
Format fmt; Format fmt;
unsigned int rmask, gmask, bmask, amask; unsigned int rmask, gmask, bmask, amask;
int bpp, number_of_mipmaps; int bpp, numberOfMipmaps;
struct Mipmap struct Mipmap
{ {