Performance improvement for slow graphic systems: avoid lag on X11 (Issue 405,269)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1780 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-04-16 18:24:24 +00:00
parent 02ecd8d29d
commit 63dcf9cc25
3 changed files with 34 additions and 6 deletions

View File

@@ -44,6 +44,8 @@ byte* Screen_pixels;
void Update_rect(short x, short y, unsigned short width, unsigned short height);
void Flush_update(void);
void Update_status_line(short char_pos, short width);
///
/// Converts a SDL_Surface (indexed colors or RGB) into an array of bytes
/// (indexed colors).