[Cogl] Remove a debugging assert that was triggering on false positives

An assert to verify there was no error when generating a buffer object
for the vertex buffer API was being hit when running the GLES1 conformance
tests.
This commit is contained in:
Robert Bragg 2009-02-22 15:25:00 +00:00
parent 5e956a88b8
commit 8d04fbb05e

View File

@ -1105,8 +1105,6 @@ cogl_vertex_buffer_vbo_resolve (CoglVertexBuffer *buffer,
if (!found_target_vbo) if (!found_target_vbo)
{ {
GE (glGenBuffers (1, &new_cogl_vbo->vbo_name)); GE (glGenBuffers (1, &new_cogl_vbo->vbo_name));
/* FIXME: debug */
g_assert (glGetError() == GL_NO_ERROR);
upload_gl_vbo (new_cogl_vbo); upload_gl_vbo (new_cogl_vbo);
*final_vbos = g_list_prepend (*final_vbos, new_cogl_vbo); *final_vbos = g_list_prepend (*final_vbos, new_cogl_vbo);