chore: combine render() and draw() in backend
This commit is contained in:
parent
a89743c701
commit
9d613f0beb
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue