DisplayPalette()

Syntax

DisplayPalette(#Palette)

Description

Display the given #Palette previously created with CreatePalette() or LoadPalette() on the current screen. On Linux, the SDL system impose to display the palette before loading the sprites to map the sprite to this palette. If the sprites are loaded before, the palette will be adjusted in real time and slow down the game a lot.

Supported OS

Windows, AmigaOS, Linux

Palette - Index