1c3d5a0e87
The lifetime of the journal VBO is entirely within the scope of the cogl_journal_flush function so there is no need to store it globally in the Cogl context. Instead, upload_vertices_to_vbo just returns the new VBO. cogl_journal_flush stores this in a local variable and destroys it before returning. This also fixes an assertion when using the GLES backend which was caused by nothing initialising the journal_vbo variable. |
||
---|---|---|
.. | ||
common | ||
gl | ||
gles | ||
cogl-bitmap.h | ||
cogl-color.h | ||
cogl-debug.h | ||
cogl-deprecated.h | ||
cogl-fixed.h | ||
cogl-material.h | ||
cogl-matrix.h | ||
cogl-offscreen.h | ||
cogl-path.h | ||
cogl-shader.h | ||
cogl-texture.h | ||
cogl-types.h | ||
cogl-vertex-buffer.h | ||
cogl.h.in | ||
cogl.pc.in | ||
Makefile.am | ||
TODO |