[Scummvm-git-logs] scummvm master -> 4a05ea9eda1784b00078e40fe52a1211f605001a
aquadran
noreply at scummvm.org
Sun Jun 5 21:58:09 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4a05ea9eda TINYGL: Remove left over macro use
Commit: 4a05ea9eda1784b00078e40fe52a1211f605001a
https://github.com/scummvm/scummvm/commit/4a05ea9eda1784b00078e40fe52a1211f605001a
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-06-05T23:58:05+02:00
Commit Message:
TINYGL: Remove left over macro use
Changed paths:
graphics/tinygl/ztriangle.cpp
diff --git a/graphics/tinygl/ztriangle.cpp b/graphics/tinygl/ztriangle.cpp
index b1b52ab1dbf..bd3d3382d90 100644
--- a/graphics/tinygl/ztriangle.cpp
+++ b/graphics/tinygl/ztriangle.cpp
@@ -114,7 +114,7 @@ FORCEINLINE void FrameBuffer::putPixelTexture(int fbOffset, const TexelBuffer *t
c_g = (c_g * l_g) >> (ZB_POINT_GREEN_BITS - 8);
c_b = (c_b * l_b) >> (ZB_POINT_BLUE_BITS - 8);
}
- writePixel<kEnableAlphaTest, kEnableBlending, kDepthWrite, kFogMode>(fbOffset + _a, c_a, c_r, c_g, c_b, z, fog >> ZB_FOG_BITS, fog_r, fog_g, fog_b);
+ writePixel<kEnableAlphaTest, kEnableBlending, kDepthWrite, kFogMode>(fbOffset + _a, c_a, c_r, c_g, c_b, z, fog, fog_r, fog_g, fog_b);
}
z += dzdx;
s += dsdx;
More information about the Scummvm-git-logs
mailing list