Skip to content

Commit

Permalink
perf(Canvas): disable MSAA on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Sep 12, 2023
1 parent 473a22b commit 6c9b08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fiber/src/native/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef<View, Props>(

return (
<View {...props} ref={viewRef} onLayout={onLayout} style={{ flex: 1, ...style }} {...bind}>
{width > 0 && <GLView onContextCreate={onContextCreate} style={StyleSheet.absoluteFill} />}
{width > 0 && <GLView msaaSamples={0} onContextCreate={onContextCreate} style={StyleSheet.absoluteFill} />}
</View>
)
},
Expand Down

0 comments on commit 6c9b08c

Please sign in to comment.