[UI] Replace ImmediateTexture handles with pointers + small cleanup

This commit is contained in:
Triang3l
2020-09-27 16:30:53 +03:00
parent f5f8714c3f
commit c2e8c5554d
6 changed files with 8 additions and 23 deletions

View File

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