First commit! Small bug fix for cube map crashing in the player.

Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images
This commit is contained in:
Charlie Carley
2007-01-13 08:30:08 +00:00
parent a935c48fec
commit c4202fbd43
4 changed files with 165 additions and 150 deletions

View File

@@ -136,7 +136,6 @@ void KX_BlenderMaterial::OnConstruction()
// for each unique material...
int i;
for(i=0; i<mMaterial->num_enabled; i++) {
BL_Texture::ActivateUnit(i);
if( mMaterial->mapping[i].mapping & USEENV ) {
if(!RAS_EXT_support._ARB_texture_cube_map) {
spit("CubeMap textures not supported");