apple: 'more correct' polygons weren't correct at all
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
74779c8f42
commit
bcb108ae5f
1 changed files with 1 additions and 5 deletions
|
|
@ -245,11 +245,7 @@ static void recursive_dispatch_key_released(MwLL handle, int* k) {
|
|||
[nscolor setFill];
|
||||
for(i = 0; i < points_count; i++) {
|
||||
NSPoint p = NSMakePoint(points[i].x, [self->view frame].size.height - points[i].y);
|
||||
if((i % 3) == 0) {
|
||||
if(i != 0) {
|
||||
[path lineToPoint:p];
|
||||
[path fill];
|
||||
}
|
||||
if(i == 0) {
|
||||
[path moveToPoint:p];
|
||||
} else {
|
||||
[path lineToPoint:p];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue