mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
[cogl] Remove unused ctx->polygon_vertices array
This array used to be used by cogl_polygon but was changed to use ctx->logged_vertices some time ago.
This commit is contained in:
parent
30f13cafc5
commit
d63cda3b76
@ -69,8 +69,6 @@ cogl_create_context ()
|
|||||||
|
|
||||||
_context->journal = g_array_new (FALSE, FALSE, sizeof (CoglJournalEntry));
|
_context->journal = g_array_new (FALSE, FALSE, sizeof (CoglJournalEntry));
|
||||||
_context->logged_vertices = g_array_new (FALSE, FALSE, sizeof (GLfloat));
|
_context->logged_vertices = g_array_new (FALSE, FALSE, sizeof (GLfloat));
|
||||||
_context->polygon_vertices = g_array_new (FALSE, FALSE,
|
|
||||||
sizeof (CoglTextureGLVertex));
|
|
||||||
|
|
||||||
_context->current_material = NULL;
|
_context->current_material = NULL;
|
||||||
_context->current_material_flags = 0;
|
_context->current_material_flags = 0;
|
||||||
@ -203,8 +201,6 @@ _cogl_destroy_context ()
|
|||||||
if (_context->logged_vertices)
|
if (_context->logged_vertices)
|
||||||
g_array_free (_context->logged_vertices, TRUE);
|
g_array_free (_context->logged_vertices, TRUE);
|
||||||
|
|
||||||
if (_context->polygon_vertices)
|
|
||||||
g_array_free (_context->polygon_vertices, TRUE);
|
|
||||||
if (_context->current_layers)
|
if (_context->current_layers)
|
||||||
g_array_free (_context->current_layers, TRUE);
|
g_array_free (_context->current_layers, TRUE);
|
||||||
|
|
||||||
|
@ -78,7 +78,6 @@ typedef struct
|
|||||||
* can batch things together. */
|
* can batch things together. */
|
||||||
GArray *journal;
|
GArray *journal;
|
||||||
GArray *logged_vertices;
|
GArray *logged_vertices;
|
||||||
GArray *polygon_vertices;
|
|
||||||
|
|
||||||
/* Some simple caching, to minimize state changes... */
|
/* Some simple caching, to minimize state changes... */
|
||||||
CoglHandle current_material;
|
CoglHandle current_material;
|
||||||
|
Loading…
Reference in New Issue
Block a user