1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-23 20:59:58 +01:00

Fix a compile error

This commit is contained in:
Miloslav Číž 2019-06-26 18:13:25 +02:00
parent 57172c73cb
commit 7a2f28833b
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@
#define S3L_SORT 0 #define S3L_SORT 0
#define S3L_Z_BUFFER 1 #define S3L_Z_BUFFER 1
#define S3L_MAX_TRIANGES_DRAWN 512
#define S3L_PIXEL_FUNCTION drawPixel #define S3L_PIXEL_FUNCTION drawPixel

View file

@ -2547,7 +2547,7 @@ void S3L_drawScene(S3L_Scene scene)
for (int16_t i = 1; i < S3L_sortArrayLength; ++i) for (int16_t i = 1; i < S3L_sortArrayLength; ++i)
{ {
S3L_TriangleToSort tmp = S3L_sortArray[i]; _S3L_TriangleToSort tmp = S3L_sortArray[i];
int16_t j = i - 1; int16_t j = i - 1;