Otherwise trying to render a rectangle after a polygon doesn't work
because it expects the array to be empty when it starts logging
vertices.
stride,
use_color,
fallback_mask);
+
+ /* Reset the size of the logged vertex array because rendering
+ rectangles expects it to start at 0 */
+ g_array_set_size (ctx->logged_vertices, 0);
}
stride,
use_color,
fallback_mask);
+
+ /* Reset the size of the logged vertex array because rendering
+ rectangles expects it to start at 0 */
+ g_array_set_size (ctx->logged_vertices, 0);
}