Some work on brush remapping
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1700 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -165,9 +165,9 @@ int L_SetBrushSize(lua_State* L)
|
||||
{
|
||||
return luaL_error(L, "setbrushsize: Resize failed");
|
||||
}
|
||||
|
||||
Brush_was_altered=1;
|
||||
// Fill with Back_color
|
||||
memset(Brush_original_pixels,Back_color,(long)Brush_width*Brush_height);
|
||||
memset(Brush,Back_color,(long)Brush_width*Brush_height);
|
||||
// Center the handle
|
||||
Brush_offset_X=(Brush_width>>1);
|
||||
|
||||
Reference in New Issue
Block a user