[AD] Timer interrupts and drawing |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I have a game here that is crashing and when I investigated it, it is
installing a timer with install_int() and in that timer's callback it is
calling drawing routines to draw things according to the mouse's current
position.
According to the documentation for install_int() you should consider that
you are being called from an interrupt context, so am I correct in thinking
that calling drawing routines from a timer callback is NOT allowed?
--
/-------------------------------------------------------------------\
[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2 ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne ]
[Assembly Language: The most fun you can have with your clothes on! ]
\-------------------------------------------------------------------/