Flash/IDE
Error: Error #3709: The depthAndStencil flag in the application descriptor must match the enableDepthAndStencil Boolean passed to configureBackBuffer on the Context3D object.
괴수가면
2012. 9. 30. 03:59
away3D 4.0를 이용하여 AIR for android로 컴파일시
Error: Error #3709: The depthAndStencil flag in the application descriptor must match the enableDepthAndStencil Boolean passed to configureBackBuffer on the Context3D object.
라는 에러 메세지가 나오면
app.xml 파일에
<renderMode>direct</renderMode>
<depthAndStencil>true</depthAndStencil>
위와 같이 renderMode는 direct로 수정하고, depthAndStencil 노드를 추가한다.
※ 이상한 점은 FlashDevelop을 이용해서 컴파일 하면 <depthAndStencil> 옵션이 설정되어있지 않은 상태에도 잘 작동한다는 것이다.