-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example_apple_metal on iPhone 12 mini crashed and unexpected borders #5648
Comments
modify code of file main.mm
|
if add code below, this bug will be fixed.
|
I see the same ASSERTion if I run the example in iOS mode on my MacBook M1 Pro. I do not see the assertion if I run it on an emulator (I tried so far iPad 9th generation). My guess is the problem lays with some kind of permissions there, because when I run it on the Mac, I see the following errors in the log too (these do not exist when running on emulator):
I suspect lack of permission flags when running natively on macOS, but here my competences end. |
**Version/Branch of Dear ImGui: 1.88
Version: 1.88
Branch: Release
Back-end/Renderer/Compiler/OS
Operating System: iOS 15.2
My Issue/Question:
example_apple_metal iPhone 12 mini Example Crashed
-[MTLDebugRenderCommandEncoder setScissorRect:]:3635: failed assertion `Set Scissor Rect Validation
(rect.x(0) + rect.width(1125))(1125) must be <= render pass width(1080)
(rect.y(0) + rect.height(2436))(2436) must be <= render pass height(2340)
'
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: