Browse Source

Merge pull request #1032 from eightyeight/issue-694

Fix a crash when change a material reclect cubemap
Daniel Buckmaster 10 years ago
parent
commit
763d178704
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/materials/processedMaterial.h

+ 1 - 1
Engine/source/materials/processedMaterial.h

@@ -73,7 +73,7 @@ public:
    /// The cubemap to use when the texture type is
    /// The cubemap to use when the texture type is
    /// set to Material::Cube.
    /// set to Material::Cube.
    /// @see mTexType
    /// @see mTexType
-   GFXCubemap *mCubeMap;
+   GFXCubemapHandle mCubeMap;
 
 
    U32 mNumTex;
    U32 mNumTex;