mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-24 20:59:58 +01:00
Fix pixel overwrite
This commit is contained in:
parent
e3f9b17756
commit
b916ed62fb
1 changed files with 1 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ void _columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x,
|
||||||
p.texCoords.x = p.hit.textureCoord;
|
p.texCoords.x = p.hit.textureCoord;
|
||||||
|
|
||||||
y = _drawWall(y - 1,wallStart,wallStart + wallHeightScreen - 1,-1,
|
y = _drawWall(y - 1,wallStart,wallStart + wallHeightScreen - 1,-1,
|
||||||
_RCL_camera.resolution.y,1,&p);
|
_RCL_camera.resolution.y,1,&p) + 1;
|
||||||
|
|
||||||
// draw floor
|
// draw floor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue