mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 22:08:43 +00:00
Changed: Minor changes
This commit is contained in:
parent
1c5c3a8b3c
commit
780750fa0d
1 changed files with 3 additions and 4 deletions
|
@ -19,7 +19,6 @@
|
|||
#include "nel/misc/bitmap.h"
|
||||
#include "nel/misc/stream.h"
|
||||
#include "nel/misc/file.h"
|
||||
#include "nel/misc/system_info.h"
|
||||
|
||||
// Define this to force all bitmap white (debug)
|
||||
// #define NEL_ALL_BITMAP_WHITE
|
||||
|
@ -508,6 +507,7 @@ uint8 CBitmap::readDDS(NLMISC::IStream &f, uint mipMapSkip)
|
|||
// If no mipmap.
|
||||
if(_MipMapCount==0)
|
||||
_MipMapCount=1;
|
||||
|
||||
switch (_DDSSurfaceDesc[20])
|
||||
{
|
||||
case DXTC1HEADER:
|
||||
|
@ -2761,7 +2761,6 @@ bool CBitmap::writeTGA( NLMISC::IStream &f, uint32 d, bool upsideDown)
|
|||
|
||||
for(y=0; y<(sint32)height; y++)
|
||||
{
|
||||
|
||||
uint32 k=0;
|
||||
if (PixelFormat == Alpha)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue