glade: notify user about lack of 3D (failed NDS_3D_ChangeCore)

This commit is contained in:
matusz 2009-04-03 08:01:35 +00:00
parent 21f8b3fbcf
commit c3ee047c7e
1 changed files with 2 additions and 1 deletions

View File

@ -564,7 +564,8 @@ common_gtk_glade_main( struct configured_features *my_config) {
}
#endif
NDS_3D_ChangeCore(engine);
if(gpu3D == GPU3D_NULL);
if(my_config->engine_3d != 0 && gpu3D == GPU3D_NULL)
fprintf(stderr, _("Failed to setup 3D engine; removing 3D support\n"));
}
// on_menu_tileview_activate(NULL,NULL);