Skip to content
Snippets Groups Projects
Commit ce5834a7 authored by Amorilia's avatar Amorilia
Browse files

syncing niflib

parent 93e9302c
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ protected:
*/
AlphaFormat alphaFormat;
/*! Is Static? */
bool isStatic;
byte isStatic;
/*! Load direct to renderer */
bool directRender;
/*! Render data is persistant */
......
......@@ -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--//
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment