# endif /* VMS */
#endif
-#include "xpm-ximage.h"
+#include "ximage-loader.h"
/* Functions for loading and storing textures */
}
else
{
- XImage *ximage = xpm_file_to_ximage (MI_DISPLAY (mi), MI_VISUAL (mi),
- MI_COLORMAP (mi), filename);
+ XImage *ximage = file_to_ximage (MI_DISPLAY (mi), MI_VISUAL (mi),
+ filename);
if (! ximage)
goto BUILTIN;
image = (GLubyte *) ximage->data;