base: cleanup
This commit is contained in:
@@ -2561,11 +2561,6 @@ void render_path_end(void) {
|
||||
}
|
||||
|
||||
void render_path_draw_meshes(char *context) {
|
||||
render_path_submit_draw(context);
|
||||
render_path_end();
|
||||
}
|
||||
|
||||
void render_path_submit_draw(char *context) {
|
||||
any_array_t *meshes = scene_meshes;
|
||||
gc_unroot(_mesh_object_last_pipeline);
|
||||
_mesh_object_last_pipeline = NULL;
|
||||
@@ -2573,6 +2568,7 @@ void render_path_submit_draw(char *context) {
|
||||
mesh_object_t *mesh = (mesh_object_t *)meshes->buffer[i];
|
||||
mesh_object_render(mesh, context, _render_path_bind_params);
|
||||
}
|
||||
render_path_end();
|
||||
}
|
||||
|
||||
void render_path_draw_skydome(char *handle) {
|
||||
|
||||
@@ -654,7 +654,6 @@ void render_path_render_frame(void);
|
||||
void render_path_set_target(char *target, string_array_t *additional, char *depth_buffer, gpu_clear_t flags, i32 color, f32 depth);
|
||||
void render_path_end(void);
|
||||
void render_path_draw_meshes(char *context);
|
||||
void render_path_submit_draw(char *context);
|
||||
void render_path_draw_skydome(char *handle);
|
||||
void render_path_bind_target(char *target, char *uniform);
|
||||
void render_path_draw_shader(char *handle);
|
||||
|
||||
@@ -1566,7 +1566,6 @@ void minic_register_builtins() {
|
||||
R(render_path_set_target, "v(p,p,p,i,i,f)");
|
||||
R(render_path_end, "v()");
|
||||
R(render_path_draw_meshes, "v(p)");
|
||||
R(render_path_submit_draw, "v(p)");
|
||||
R(render_path_draw_skydome, "v(p)");
|
||||
R(render_path_bind_target, "v(p,p)");
|
||||
R(render_path_draw_shader, "v(p)");
|
||||
|
||||
Reference in New Issue
Block a user