Moving elemental to immediate drawer.

This commit is contained in:
Ben Vanik
2015-11-07 09:52:57 -08:00
parent 440c807936
commit fdf59fec5f
11 changed files with 169 additions and 363 deletions

View File

@@ -216,6 +216,7 @@ void MicroprofileDrawer::Flush() {
draw.primitive_type = current_primitive_type_;
draw.count = vertex_count_;
draw.texture_handle = font_texture_->handle;
draw.restrict_texture_samples = true;
drawer->Draw(draw);
drawer->EndDrawBatch();