Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

_enableDepthAndStencil has to be manually set to true #230

Closed
beautifycode opened this issue Feb 29, 2012 · 5 comments
Closed

_enableDepthAndStencil has to be manually set to true #230

beautifycode opened this issue Feb 29, 2012 · 5 comments
Assignees
Labels

Comments

@beautifycode
Copy link

  • when setting the param in your app-descriptor to true you're receiving an away3D error after starting the app on your device:
Error: Error #3709: The depthAndStencil flag in the application descriptor must match the enableDepthAndStencil Boolean passed to configureBackBuffer on the Context3D object.
  • setting the _enableDepthAndStencil property in Stage3DProxy to default true will make the error vanish.
  • it also has something to deal with the fullScreen param in the app-descriptor. didn't quite figure out it's behaviour yet, though.
@beautifycode
Copy link
Author

=> iOS 5 (iPhone 4S)

@rob-bateman
Copy link
Member

how strange. any suggestions on how to dynamically check for this?

@ghost ghost assigned rob-bateman Apr 13, 2012
@mreshet
Copy link

mreshet commented May 31, 2012

I can confirm this happens on Windows x64 with the AIR 3.2 release version.

A solution as posted here is to make a call to view.render() quickly after is created.

@ghost ghost assigned richardolsson Jun 14, 2012
@richardolsson
Copy link
Member

@rob-bateman I'll verify this and see if this hasn't been solved already in Prefab. Otherwise I'll fix it.

@richardolsson
Copy link
Member

@mreshet Can you provide some more information on the suggested solution? I can't find any mention of a workaround involving View3D.render() on the forum page you linked to.

@beautifycode Just to make sure I'm not misunderstand; have you set depthAndStencil flag in the app descriptor to true?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants