1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-12-25 01:46:19 +01:00

Fix pixel overwrite

This commit is contained in:
Miloslav Číž 2018-09-22 14:01:16 +02:00
parent e3f9b17756
commit b916ed62fb

View file

@ -1313,7 +1313,7 @@ void _columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x,
p.texCoords.x = p.hit.textureCoord;
y = _drawWall(y - 1,wallStart,wallStart + wallHeightScreen - 1,-1,
_RCL_camera.resolution.y,1,&p);
_RCL_camera.resolution.y,1,&p) + 1;
// draw floor