state->enable ( GL_CULL_FACE ) ;
if ( current_options.get_textures() ) {
state->enable( GL_TEXTURE_2D );
- state->setTexture( tex_file.c_str() );
+ state->setTexture( (char *)tex_file.c_str() );
state->setMaterial ( GL_AMBIENT_AND_DIFFUSE, 1, 1, 1, 1 ) ;
} else {
state->disable( GL_TEXTURE_2D );
ssgSimpleState *state = NULL;
ssgBranch *tile = new ssgBranch () ;
- tile -> setName ( path.c_str() ) ;
+ tile -> setName ( (char *)path.c_str() ) ;
// Attempt to open "path.gz" or "path"
fg_gzifstream in( path );