summaryrefslogtreecommitdiff
path: root/src/engine/fox_std_lib.c
diff options
context:
space:
mode:
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: