-
Notifications
You must be signed in to change notification settings - Fork 11
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
Anti-Aliasing on Render-To-Texture may yield "Internal Error" on iOS #2
Labels
Comments
Fixed with AIR 27.0.0.128! |
This was referenced Jan 31, 2020
This was referenced May 6, 2020
This was referenced Sep 7, 2020
Open
This was referenced Aug 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
When using anti-aliasing via the "context3D.setRenderToTexture()" method, subsequent calls to "context.createVertexBuffer" yield the error "Error #3672: Buffer creation failed. Internal error." on iOS.
This makes it impossible to use the new FragmentFilter.antiAliasing property introduced in Starling 2.2 on iOS.
This was reproduced in AIR 26, Build 112, and AIR 25, Build 134.
I run the app on iOS 10.3.2.
Adobe Tracker Issue: https://tracker.adobe.com/#/view/AIR-4198370
Steps to Reproduce
Use the following class as a Starling Root-Class (Starling 2.2) on iOS:
https://gist.github.com/anonymous/1c1480962f0723f9baaa63e7c8f51683
The code causes an exception in this line in FragmentFilter.as (
effect.uploadVertexData
). If you step into this method, you see that the actual exception occurs insidecontext.createVertexBuffer
.Known Workarounds
Set
filter.resolution = 2
instead offilter.antiAliasing = 2
.The text was updated successfully, but these errors were encountered: