MCPcopy Create free account
hub / github.com/diasurgical/devilution / InitPalette

Function InitPalette

SourceX/dx.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void InitPalette()
168{
169 palette = SDL_AllocPalette(256);
170 if (palette == NULL) {
171 ErrSdl();
172 }
173}
174
175void BltFast(SDL_Rect *src_rect, SDL_Rect *dst_rect)
176{

Callers 1

palette_initFunction · 0.85

Calls 1

SDL_AllocPaletteFunction · 0.85

Tested by

no test coverage detected