From ce5834a7fe755ffdeeae668ed9e0be421a9aceda Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Sat, 10 Nov 2007 09:36:14 +0000 Subject: [PATCH] syncing niflib --- include/obj/NiSourceTexture.h | 2 +- src/obj/NiSourceTexture.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/obj/NiSourceTexture.h b/include/obj/NiSourceTexture.h index 080a3d2b..6a7bd201 100644 --- a/include/obj/NiSourceTexture.h +++ b/include/obj/NiSourceTexture.h @@ -149,7 +149,7 @@ protected: */ AlphaFormat alphaFormat; /*! Is Static? */ - bool isStatic; + byte isStatic; /*! Load direct to renderer */ bool directRender; /*! Render data is persistant */ diff --git a/src/obj/NiSourceTexture.cpp b/src/obj/NiSourceTexture.cpp index 6ce62724..4705e5f8 100644 --- a/src/obj/NiSourceTexture.cpp +++ b/src/obj/NiSourceTexture.cpp @@ -21,7 +21,7 @@ using namespace Niflib; //Definition of TYPE constant const Type NiSourceTexture::TYPE("NiSourceTexture", &NiTexture::TYPE ); -NiSourceTexture::NiSourceTexture() : useExternal((byte)1), unknownLink(NULL), unknownByte((byte)0), pixelData(NULL), pixelLayout((PixelLayout)5), useMipmaps((MipMapFormat)2), alphaFormat((AlphaFormat)3), isStatic(1), directRender(1), persistRenderData(0) { +NiSourceTexture::NiSourceTexture() : useExternal((byte)1), unknownLink(NULL), unknownByte((byte)0), pixelData(NULL), pixelLayout((PixelLayout)5), useMipmaps((MipMapFormat)2), alphaFormat((AlphaFormat)3), isStatic((byte)1), directRender(1), persistRenderData(0) { //--BEGIN CONSTRUCTOR CUSTOM CODE--// //--END CUSTOM CODE--// } -- GitLab