Commit 2542e9f8 authored by hybrid's avatar hybrid

Init order warnings fixed

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4442 dfc29bdd-3216-0410-991c-e03cc46cb475
parent cad8bd98
...@@ -55,19 +55,20 @@ public: ...@@ -55,19 +55,20 @@ public:
//! Cache structure. //! Cache structure.
struct SStatesCache struct SStatesCache
{ {
SStatesCache() : WrapU(ETC_REPEAT), WrapV(ETC_REPEAT), BilinearFilter(false), SStatesCache() : WrapU(ETC_REPEAT), WrapV(ETC_REPEAT),
TrilinearFilter(false), AnisotropicFilter(0), MipMapStatus(false), IsCached(false), LODBias(0) LODBias(0), AnisotropicFilter(0),
BilinearFilter(false), TrilinearFilter(false),
MipMapStatus(false), IsCached(false)
{ {
} }
u8 WrapU; u8 WrapU;
u8 WrapV; u8 WrapV;
s8 LODBias;
u8 AnisotropicFilter;
bool BilinearFilter; bool BilinearFilter;
bool TrilinearFilter; bool TrilinearFilter;
u8 AnisotropicFilter;
bool MipMapStatus; bool MipMapStatus;
s8 LODBias;
bool IsCached; bool IsCached;
}; };
......
...@@ -107,7 +107,7 @@ namespace irr ...@@ -107,7 +107,7 @@ namespace irr
public: public:
CCursorControl(const core::dimension2d<u32>& wsize, CIrrDeviceMacOSX *device) CCursorControl(const core::dimension2d<u32>& wsize, CIrrDeviceMacOSX *device)
: WindowSize(wsize), IsVisible(true), InvWindowSize(0.0f, 0.0f), Device(device), UseReferenceRect(false) : WindowSize(wsize), InvWindowSize(0.0f, 0.0f), Device(device), IsVisible(true), UseReferenceRect(false)
{ {
CursorPos.X = CursorPos.Y = 0; CursorPos.X = CursorPos.Y = 0;
if (WindowSize.Width!=0) if (WindowSize.Width!=0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment