From 8d04fbb05eedaf54380c12fee46ffd3fa9ae61a3 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sun, 22 Feb 2009 15:25:00 +0000 Subject: [PATCH] [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. --- clutter/cogl/common/cogl-vertex-buffer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/clutter/cogl/common/cogl-vertex-buffer.c b/clutter/cogl/common/cogl-vertex-buffer.c index bd2443b94..758828412 100644 --- a/clutter/cogl/common/cogl-vertex-buffer.c +++ b/clutter/cogl/common/cogl-vertex-buffer.c @@ -1105,8 +1105,6 @@ cogl_vertex_buffer_vbo_resolve (CoglVertexBuffer *buffer, if (!found_target_vbo) { GE (glGenBuffers (1, &new_cogl_vbo->vbo_name)); - /* FIXME: debug */ - g_assert (glGetError() == GL_NO_ERROR); upload_gl_vbo (new_cogl_vbo); *final_vbos = g_list_prepend (*final_vbos, new_cogl_vbo);