Merge "Fix segfault when destroying context"

This commit is contained in:
David Turner
2011-07-03 04:50:35 -07:00
committed by Android Code Review

View File

@@ -34,7 +34,7 @@ void GLEScmContext::init() {
m_initialized = true;
}
GLEScmContext::GLEScmContext():GLEScontext(),m_pointsIndex(-1), m_clientActiveTexture(0) {
GLEScmContext::GLEScmContext():GLEScontext(),m_texCoords(NULL),m_pointsIndex(-1), m_clientActiveTexture(0) {
m_map[GL_COLOR_ARRAY] = new GLESpointer();
m_map[GL_NORMAL_ARRAY] = new GLESpointer();