Cleanup
This commit is contained in:
@@ -143,9 +143,9 @@ function tab_textures_draw(htab: ui_handle_t) {
|
||||
let img: image_t = _tab_textures_draw_img;
|
||||
let target: image_t = image_create_render_target(tab_textures_to_pow2(img.width), tab_textures_to_pow2(img.height));
|
||||
g2_begin(target);
|
||||
g2_set_pipeline(pipes_copy);
|
||||
draw_set_pipeline(pipes_copy);
|
||||
draw_scaled_image(img, 0, 0, target.width, target.height);
|
||||
g2_set_pipeline(null);
|
||||
draw_set_pipeline(null);
|
||||
g2_end();
|
||||
app_notify_on_next_frame(function (target: image_t) {
|
||||
let path: string = _tab_textures_draw_path;
|
||||
|
||||
Reference in New Issue
Block a user