Query: fli_pal_dirty_from
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fli_pal_dirty_from(3alleg4) Allegro manual fli_pal_dirty_from(3alleg4)NAMEfli_pal_dirty_from, fli_pal_dirty_to - Indicate which parts of the palette have changed. Allegro game programming library.SYNOPSIS#include <allegro.h> extern int fli_pal_dirty_from; extern int fli_pal_dirty_to;DESCRIPTIONThese variables are set by next_fli_frame() to indicate which part of the fli_palette has changed since the last call to reset_fli_vari- ables(). If fli_pal_dirty_from is greater than fli_pal_dirty_to, the palette has not changed, otherwise colors fli_pal_dirty_from to fli_pal_dirty_to (inclusive) have altered. You can use these when updating the hardware palette, to avoid unnecessary calls to set_pal- ette(). Example: if (fli_pal_dirty_from <= fli_pal_dirty_to) set_palette_range(fli_palette, fli_pal_dirty_from, fli_pal_dirty_to, 1);SEE ALSOfli_palette(3alleg4), reset_fli_variables(3alleg4) Allegro version 4.4.2 fli_pal_dirty_from(3alleg4)
Related Man Pages |
---|
expal(3alleg4) - centos |
expal(3alleg4) - netbsd |
expal(3alleg4) - mojave |
expal(3alleg4) - plan9 |
expal(3alleg4) - freebsd |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Introduction |
One instance of comparing grep and awk |
Weird 'find' results |