fix mixer on iOS, work with RGBA16F buffers on iOS instead of fallback to RGBA8
This commit is contained in:
@@ -200,9 +200,9 @@ std::set<UITouch*> ignored_touch;
|
||||
if (source == kEventSource::Stylus)
|
||||
pen_down = true;
|
||||
|
||||
if (touch.majorRadius > 25.f)
|
||||
ignored_touch.insert(touch);
|
||||
NSLog(@"touch down size %f", touch.majorRadius);
|
||||
// if (touch.majorRadius > 25.f)
|
||||
// ignored_touch.insert(touch);
|
||||
// NSLog(@"touch down size %f", touch.majorRadius);
|
||||
[self async_lock];
|
||||
App::I.mouse_down(0, touchLocation.x * scale, touchLocation.y * scale, touch.force, source);
|
||||
[self async_unlock];
|
||||
|
||||
Reference in New Issue
Block a user