forked from mirror/openmw-tes3mp
Merge pull request #365 from OpenMW/master
Add OpenMW commits up to 2 Jan 2017
This commit is contained in:
commit
a818140c14
3 changed files with 4 additions and 4 deletions
|
@ -705,7 +705,7 @@ namespace MWPhysics
|
|||
if (physFramerate > 0)
|
||||
{
|
||||
mPhysicsDt = 1.f / physFramerate;
|
||||
std::cerr << "Warning: physics framerate was overriden (a new value is " << physFramerate << ")." << std::endl;
|
||||
std::cerr << "Warning: physics framerate was overridden (a new value is " << physFramerate << ")." << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -153,12 +153,12 @@ void NiPixelData::read(NIFStream *nif)
|
|||
// Unknown
|
||||
nif->skip(12);
|
||||
|
||||
mips = nif->getInt();
|
||||
numberOfMipmaps = nif->getInt();
|
||||
|
||||
// Bytes per pixel, should be bpp * 8
|
||||
/* int bytes = */ nif->getInt();
|
||||
|
||||
for(int i=0; i<mips; i++)
|
||||
for(int i=0; i<numberOfMipmaps; i++)
|
||||
{
|
||||
// Image size and offset in the following data field
|
||||
Mipmap m;
|
||||
|
|
|
@ -115,7 +115,7 @@ public:
|
|||
Format fmt;
|
||||
|
||||
unsigned int rmask, gmask, bmask, amask;
|
||||
int bpp, mips;
|
||||
int bpp, numberOfMipmaps;
|
||||
|
||||
struct Mipmap
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue