ec-/Quake3e

win arm32 compiling

Opened this issue · 4 comments

wmjb commented

trying to compile for win arm 32 bit, only problem i've got is the following function in common.c

void Sys_SnapVector(float* vector)
{
vector[0] = rint(vector[0]);
vector[1] = rint(vector[1]);
vector[2] = rint(vector[2]);
}

any idea what would be the equivalent for #if arm32 ?

if i just copy the arm64 function, everything build and runs just crashes on launching a match.. i'm not sure if this is the issue.

many thanks.

wmjb commented

looks like the problem is with the opengl32.dll.

What devices are arm 32 bit supporting Windows? If Windows arm 32 doesn't properly support opengl (not opengles) you may not be able to get far.

wmjb commented

microsoft surface 1 and 2, windows 10. we use gldirect5 which gives opengl 1.1 over dx9. ioq3 builds and runs fine.

The codebase does not have arm32 project or defines for windows currently but it could be added it looks like