---
title: "Cocos2D:gleRunVertexSubmitARM EXC_BAD_ACCESS"
author: "Hobo86"
date: "2013-04-25T16:42:13Z"
tags: []
categories: ["移动开发"]
slug: "cocos2d-glerunvertexsubmitarm-exc-bad-access"
draft: false
lastmod: "2013-04-25T16:42:13Z"
id: 1853641
url: "https://hobo86.iteye.com/blog/1853641"
---

版本：**cocos2d-iphone v2.1-rc1**

 EXC\_BAD\_ACCESS

0 gleRunVertexSubmitARM

1 gleSetVertexArrayFunc

2 gleDrawArraysOrElements\_ExecCore

3 glDrawElements\_ACC\_ES2Exec

4 draw\_elements

 

修复方式：CC\_ENABLE\_GL\_STATE\_CACHE = 0

 

http://www.cocos2d-iphone.org/forum/topic/235582#post-391331