Fix a crash in 'Copy to spare:Palette' when both images have different height. Fix Lua which didin't report useful message when an error was detected.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1337 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
pages.c
2
pages.c
@@ -283,7 +283,7 @@ void Redraw_spare_image(void)
|
||||
// Copy it in Spare_visible_image
|
||||
memcpy(Spare_visible_image.Image,
|
||||
Spare_backups->Pages->Image[layer],
|
||||
Spare_image_width*Main_image_height);
|
||||
Spare_image_width*Spare_image_height);
|
||||
|
||||
// No depth buffer in the spare
|
||||
//memset(Spare_visible_image_depth_buffer.Image,
|
||||
|
||||
Reference in New Issue
Block a user