[Scummvm-git-logs] scummvm master -> 0d15cd555ee968e346edc6948a684c3f44a6477a
chkuendig
noreply at scummvm.org
Tue Oct 14 18:30:04 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
0d15cd555e ALCACHOFA: Fix "wrong operand types" error in shader
Commit: 0d15cd555ee968e346edc6948a684c3f44a6477a
https://github.com/scummvm/scummvm/commit/0d15cd555ee968e346edc6948a684c3f44a6477a
Author: Christian Kündig (christian at kuendig.info)
Date: 2025-10-14T20:30:00+02:00
Commit Message:
ALCACHOFA: Fix "wrong operand types" error in shader
Changed paths:
engines/alcachofa/graphics-opengl-shaders.cpp
diff --git a/engines/alcachofa/graphics-opengl-shaders.cpp b/engines/alcachofa/graphics-opengl-shaders.cpp
index 9fb80eaf5e8..6e348332b43 100644
--- a/engines/alcachofa/graphics-opengl-shaders.cpp
+++ b/engines/alcachofa/graphics-opengl-shaders.cpp
@@ -250,7 +250,7 @@ private:
if (posterize == 0) {
// shave off 3 bits for that 16-bit look
- gl_FragColor = floor(gl_FragColor * (256 / 8)) / (256 / 8);
+ gl_FragColor = floor(gl_FragColor * (256.0 / 8.0)) / (256.0 / 8.0);
}
})";
};
More information about the Scummvm-git-logs
mailing list