Hi

I face a problem with texture rendering in offscreen rendering mode. I have a huge set of vertices (formed by accumulation) rendered onto an FBO. The vertex structure includes actual vertices, texture vertices and the color data. When the total number of indices exceeds a certain limit the frame is not drawn. Neither does it throw any glError. It is not the number of indices drawn at one stretch, but the total number of indices for the entire frame when exceeds a certain limit gives the problem. I do delete the vbo-s created as and when it is rendered. Can someone tell me what might be the cause of this problem. Is there something that I am missing out.

The same code works properly when rendered directly onto the surface instead of FBO. Also the problem occurs only in Motorola Milestone and works properly with Samsung Galaxy Tab.
Code :
 
        glEnable( GL_TEXTURE_2D);
	glEnableClientState(GL_COLOR_ARRAY);
 
	glVertexPointer(3, GL_FLOAT, 0, vertexArray);
	glTexCoordPointer(2, GL_FLOAT, 0, texArray);
	glColorPointer(4, GL_UNSIGNED_BYTE, 0, colorArray);
 
	glBindTexture(GL_TEXTURE_2D, *m_OuterTexture);
	glDrawElements(GL_TRIANGLES, iNumIndices, GL_UNSIGNED_SHORT, pauiNewIndices);
	checkGlError("draw tess 1");
 
	if( bFillInner )
	{
		glBindTexture(GL_TEXTURE_2D, *m_InnerTexture);
		glDrawElements(GL_TRIANGLES, iNumLines * 18, GL_UNSIGNED_SHORT, pauiNewIndices);
		checkGlError("draw tess 2");
	}
 
	glDisable( GL_TEXTURE_2D);