Some fixes for build with MinGW
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@40 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
7e9d0cc834
commit
522ce03d00
|
@ -1057,19 +1057,6 @@ type clamp(intype in)
|
|||
//-------------------------------------------------------------------------------
|
||||
int CDisplay::HandleTreeViewPopup(WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
// helper class
|
||||
struct Info
|
||||
{
|
||||
Info( D3DXVECTOR4* p1,
|
||||
AssetHelper::MeshHelper* p2,
|
||||
const char* p3)
|
||||
: pclrColor(p1),pMesh(p2),szShaderParam(p3) {}
|
||||
|
||||
D3DXVECTOR4* pclrColor;
|
||||
AssetHelper::MeshHelper* pMesh;
|
||||
const char* szShaderParam;
|
||||
};
|
||||
|
||||
// get the current selected material
|
||||
std::vector<Info> apclrOut;
|
||||
const char* szMatKey;
|
||||
|
|
|
@ -57,7 +57,20 @@ class CDisplay
|
|||
{
|
||||
private:
|
||||
|
||||
// default constructor
|
||||
// helper class
|
||||
struct Info
|
||||
{
|
||||
Info( D3DXVECTOR4* p1,
|
||||
AssetHelper::MeshHelper* p2,
|
||||
const char* p3)
|
||||
: pclrColor(p1),pMesh(p2),szShaderParam(p3) {}
|
||||
|
||||
D3DXVECTOR4* pclrColor;
|
||||
AssetHelper::MeshHelper* pMesh;
|
||||
const char* szShaderParam;
|
||||
};
|
||||
|
||||
// default constructor
|
||||
CDisplay()
|
||||
: m_iViewMode(VIEWMODE_FULL),
|
||||
m_pcCurrentTexture(NULL),
|
||||
|
|
Loading…
Reference in New Issue