chore: combine render() and draw() in backend

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-01-01 00:22:39 -06:00
parent 8364b165b5
commit bf380609af
1 changed files with 1 additions and 4 deletions

View File

@ -20,11 +20,8 @@ pub fn newFrame(width: f32, height: f32) void {
zgui.newFrame(); zgui.newFrame();
} }
pub fn render() void {
zgui.render();
}
pub fn draw() void { pub fn draw() void {
zgui.render();
ImGui_ImplOpenGL3_RenderDrawData(zgui.getDrawData()); ImGui_ImplOpenGL3_RenderDrawData(zgui.getDrawData());
} }