fix mixer on iOS, work with RGBA16F buffers on iOS instead of fallback to RGBA8

This commit is contained in:
2018-08-05 16:27:26 +02:00
parent 2137de66ff
commit 0fb6658373
6 changed files with 27 additions and 15 deletions

View File

@@ -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];