DevIL Documentation Home | Previous | Next

ilSetDoomPal

The ilSetDoomPal function sets the shared palette as the default Doom palette.


ILboolean ilSetDoomPal(
  ILvoid
);

Parameters

None

Remarks

ilSetDoomPal sets the palette to be used by all functions for images that do not contain palettes. Doom textures and flats contain no internal palettes and usually rely on a palette entry in a Doom .wad file. This function is the equivalent of calling ilSetSharedPal with the Doom palette. OpenIL contains an internal copy of the default palette used by Doom, so this is usually unnecessary.

Error Codes

None

See Also

ilSetSharedPal, ilLoad, ilLoadF, ilLoadL, ilLoadImage