Lua: fix crash of the new drawing primitives (drawcircle, drawdisk, drawfilledrect, drawline) when outside view area
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1756 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -1275,7 +1275,6 @@ void Draw_empty_circle_general(short center_x,short center_y,short radius,byte c
|
||||
Pixel_figure(center_x+radius,center_y,color); // Droite
|
||||
Pixel_figure(center_x,center_y+radius,color); // Bas
|
||||
|
||||
if(Main_magnifier_mode) Update_part_of_screen(center_x-radius,center_y-radius,2*radius+1,2*radius+1);
|
||||
}
|
||||
|
||||
// -- Tracé définitif d'un cercle vide --
|
||||
|
||||
Reference in New Issue
Block a user