summaryrefslogtreecommitdiff
path: root/src/engine/fox_std_lib.c
diff options
context:
space:
mode:
authorSonicDcer <alejandro.asenjo88@gmail.com>2025-05-25 16:47:24 -0300
committerSonicDcer <alejandro.asenjo88@gmail.com>2025-05-25 16:47:24 -0300
commit2e057c10d4fd35ad5a020922076ce59da795a49a (patch)
treef813933149d572c3815fd35f648692f41bfcb6bc /src/engine/fox_std_lib.c
parenta500ca7d8dde8534c5b3e6724f470fdd7d5028ae (diff)
parent8fffcdb5577a22d5ad4f761bcbdf1ad0468c3450 (diff)
Merge branch 'main' of github.com:HarbourMasters/Starship
Diffstat (limited to 'src/engine/fox_std_lib.c')
-rw-r--r--src/engine/fox_std_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/fox_std_lib.c b/src/engine/fox_std_lib.c
index 47be8b2a..a8f8de36 100644
--- a/src/engine/fox_std_lib.c
+++ b/src/engine/fox_std_lib.c
@@ -42,6 +42,8 @@ void Lib_Texture_Scroll(u16* texture, s32 width, s32 height, u8 mode) {
width = newWidth;
height = newHeight;
+ scale = 1; // TODO: a higher scale causes performance issues for large textures ?
+
for(s32 i = 0; i < (s32) scale; i++){
switch (mode) {
case 0: