Devilution
Diablo devolved - magic behind the 1996 computer game

◆ ENG_set_pixel()

void ENG_set_pixel ( int  sx,
int  sy,
BYTE  col 
)

Set the value of a single pixel in the back buffer, checks bounds.

Parameters
sxBack buffer coordinate
syBack buffer coordinate
colColor index from current palette

Definition at line 609 of file engine.cpp.