* In examples, load tga_encoder from sibling directory

This commit is contained in:
Nils Dagsson Moskopp 2023-09-04 18:48:24 +02:00
parent 78a13f7490
commit 4a08715628
Signed by: erle
GPG Key ID: A3BC671C35191080
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ text_bitmap_3 = hexdraw.render_text(
print_bitmap(text_bitmap_3)
print("---")
dofile("tga_encoder.lua")
dofile("../tga_encoder/init.lua")
-- colormapped uncompressed image
tga_encoder.image(text_bitmap_1):save(

View File

@ -2,7 +2,7 @@
-- -*- coding: utf-8 -*-
dofile("init.lua")
dofile("tga_encoder.lua")
dofile("../tga_encoder/init.lua")
font_1 = unicode_text.hexfont(
{