Don't set the other texture buffers for cards that don't support
multi-texturing. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@100 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -445,7 +445,7 @@ public class ModelMesh extends TriMesh
|
||||
*/
|
||||
protected int getTextureCount ()
|
||||
{
|
||||
return (_emissiveMap == null) ? 1 : 2;
|
||||
return (_emissiveMap == null || TextureState.getNumberOfFixedUnits() < 2) ? 1 : 2;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user