fixes for build
Some checks failed
k4 Build Test / do_the_build (push) Failing after 4s

This commit is contained in:
mid 2026-01-21 22:20:15 +02:00
parent 4d0e043f4c
commit 055ff4f5ce

View File

@ -19,6 +19,7 @@
#include<GLFW/glfw3.h>
#include"ssort.h"
#include<ctype.h>
#include<math.h>
/*
* This is by far the least clean or well-maintained source in the
@ -1722,7 +1723,7 @@ static int dagame_mdl(lua_State *L) {
}
lua_pop(L, 1);
struct k3Mdl *mdl = k3MdlCreate(vertexCount, indexCount, 0, positions, normals, uvs, NULL, NULL, NULL, indices, NULL, NULL);
struct k3Mdl *mdl = k3MdlCreate(vertexCount, indexCount, 0, positions, normals, (float*) uvs, NULL, NULL, NULL, indices, NULL, NULL);
struct k3Mdl **ud = lua_newuserdata(L, sizeof(*ud));
*ud = mdl;