Remove test code
This commit is contained in:
parent
c70f252349
commit
f56e6b1bb1
@ -76,11 +76,6 @@ i32 run_main_loop(void) {
|
||||
|
||||
i32 toolbox_button_x = (toolbox->width - BUTTON_WIDTH) / 2;
|
||||
|
||||
line ln = (line){
|
||||
(point){80, 100},
|
||||
(point){120, 300},
|
||||
};
|
||||
|
||||
while (comp.running) {
|
||||
while (SDL_PollEvent(&(comp.event))) {
|
||||
handle_ui_events(&(comp.windows[comp.active_window - 1]), &(comp.ctx),
|
||||
@ -157,8 +152,6 @@ i32 run_main_loop(void) {
|
||||
comp.nodes[i].colours);
|
||||
}
|
||||
|
||||
ln = ui_noodle(main_window, &(comp.ctx), ln, op_node_colours);
|
||||
|
||||
for (u64 i = 0; i < MAX_WINDOWS; ++i) {
|
||||
swap_buffers(&(comp.windows[i]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user