1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-21 20:39:57 +01:00

Fix z-buffer bug

This commit is contained in:
Miloslav Číž 2019-07-01 01:57:23 +02:00
parent 3e4fbbeca1
commit 25e73ccb0a

View file

@ -2131,7 +2131,7 @@ void S3L_drawTriangle(
#endif
#if S3L_Z_BUFFER
S3L_Index zBufferIndex = p.y * S3L_RESOLUTION_X + lXClipped;
uint32_t zBufferIndex = p.y * S3L_RESOLUTION_X + lXClipped;
#endif
// draw the row -- inner loop: