+ if (developer_texturelogging.integer)
+ Log_Printf("textures.log", "%s\n", filename);
+ strlcpy(basename, filename, sizeof(basename));
+ Image_StripImageExtension(basename, basename); // strip filename extensions to allow replacement by other types