This commit is contained in:
luboslenco
2025-03-03 22:50:40 +01:00
parent 26e56261b5
commit 63e5adbb8e
30 changed files with 227 additions and 352 deletions
+2 -2
View File
@@ -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;