Jet: draw_indexed: Crash on iOS 9.2 device

隐身守侯 提交于 2019-12-01 11:34:03

问题


I am seeing this crash when adding a SKEmitterNode to a scene. Is there anyway to control the "index" through the interface or is it a Metal bug? I tried setting YES to the PrefersOpenGL flag in the info.plist, but it doesnt work.

2015-12-19 22:49:41.967 appname[4190:1827024] Jet: draw_indexed: indexType must be 'unsigned_int' or 'unsigned_short'
Assertion failed: (indexType == jet_component_type_unsigned_int || indexType == 
jet_component_type_unsigned_short), function draw_indexed, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Jet/Jet-1.50.1/Jet/jet_context_Metal.mm, line 1275.

来源:https://stackoverflow.com/questions/34376283/jet-draw-indexed-crash-on-ios-9-2-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!