From 7a7b040216c212f1149ecbf770443b2f4fc4a132 Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Mon, 1 Jan 2018 14:10:23 +0100 Subject: [PATCH 1/2] fix building on mips machines --- components/nif/data.cpp | 4 ++-- components/nif/data.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/nif/data.cpp b/components/nif/data.cpp index a6721fde1..b2ba63053 100644 --- a/components/nif/data.cpp +++ b/components/nif/data.cpp @@ -153,12 +153,12 @@ void NiPixelData::read(NIFStream *nif) // Unknown nif->skip(12); - mips = nif->getInt(); + number_of_mipmaps = nif->getInt(); // Bytes per pixel, should be bpp * 8 /* int bytes = */ nif->getInt(); - for(int i=0; i Date: Mon, 1 Jan 2018 16:32:20 +0100 Subject: [PATCH 2/2] camelCase --- components/nif/data.cpp | 4 ++-- components/nif/data.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/nif/data.cpp b/components/nif/data.cpp index b2ba63053..d19c8321e 100644 --- a/components/nif/data.cpp +++ b/components/nif/data.cpp @@ -153,12 +153,12 @@ void NiPixelData::read(NIFStream *nif) // Unknown nif->skip(12); - number_of_mipmaps = nif->getInt(); + numberOfMipmaps = nif->getInt(); // Bytes per pixel, should be bpp * 8 /* int bytes = */ nif->getInt(); - for(int i=0; i