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:
parent
3e4fbbeca1
commit
25e73ccb0a
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue